CPSC 210

B1: Program Structure

Slides designed by Felix Grund, based on Paul Carter’s slides

Learning Goals

  • Extract a package-relationship diagram from an existing software application written in Java
  • Identify Java packages, classes, relationships, and import statements
  • Draw a package relationship diagram
  • Know how to run a Java application

Lecture Lab

☃️ WinterWonderland ❄️

Pod Activity (Do in Groups of 3-5)

  • Each student should clone the B01-WinterWonderland repository
     
  • Draw the package structure for the system
     
  • Which class would you need to visit to run the program?
    • How did you decide this?
    • Can you come up with a general pattern to identify which file will run the program?

Winter Wonderland

The End - Thank You!

B1: Program Structure

B1 Program Structure

By firas_moosvi

B1 Program Structure

  • 169