CSCI 111 Lessons
Course 1
Lessons 5 and 6 to precede Labs 5 & 6
-
Lesson 5: Objects and Classes
- Distinctions: Objects, Classes, Instances
- Object-Oriented Design Issues (Class structure and specification)
- Adding and Identifying Methods in Classes (identify blocks)
- Adding and Identifying Instance Variables
- Constructors
- Accessors and Mutators (get and set)
- Eclipse: Copying Files
- software engineering principles: Modularity and Information hiding
- Lesson 6: Classes and Instances
- Inheriting from Object vs Applet
- Object-oriented design (separate user interface from application)
- Instance Variables and scope
- Instances - instantiation and new
- Eclipse: console and run-time errors
- software engineering principles: Modularity allows easy modification