- 
                Notifications
    
You must be signed in to change notification settings  - Fork 60
 
Lesson 3 (Classes & Objects)
        Sally Steuterman edited this page Jul 28, 2020 
        ·
        2 revisions
      
    - What a class is in Java and how instantiating classes create objects.
 - The difference between fields and methods
 - What access modifiers are and how they can be used to encapsulate data.
 - What the Single Responsibility Principle is and why we should make our classes responsible for one thing.
 
- Class 4 prep work should be active by the end of class.
 - Graded Assignment #1 is due soon!
 - Graded Assignment #2 opens soon! Remember to get started with graded assignments as soon as possible and read through all of the directions before starting!
 
- The differences between classes and objects can be confusing for some students.
 - Object-oriented Programming, encapsulation, and the Single Responsibility Principle can all be very confusing and hard for students to envision.
- Take time to review examples that follow these principles and ones that do not.
 - Taking time to review can be helpful for students who are struggling to understand the impact that following OOP can have on class design.
 - This is also a good segway into the studio.
 
 
- Pace the studio carefully. Students will start by designing their own classes, but also need ample time to share their class design with their partners.
 - If the group is an odd number, either pair with the student who doesn't have a partner or make one group a group of 3.
 - This studio can be very subjective. Encourage students who are not following the principles of OOP to think about the reading and see if they can better encapsulate their data.
 - No matter if their design is perfect, they will need some time at the end to code their designs. The important part here is to make sure their code matches their design, not that their code perfectly matches what you think it should be.