M/F 2:30-3:20 |
CS 1130: Transition to OO Programming Spring 2016 |
Main
About: Overview Announcements Staff Consultants Calendar Materials: Texts DrJava Terminology Lectures: In-Class Web-Based VideoNote Assessment: Grading Assignments Labs Resources: CMS Piazza (link) Piazza (about) Java API Style Guide Academic Integrity |
Module 1, Part 5Objects and ClassesThis part 5 introduces you to the notions of object and class, as well as associated concepts that are needed in the beginning. The reading for this part is Gries/Gries, Section 1.3, pp. 30-41. Contents1. Objects as Manila Folders, Classes as File DrawersWeb Lecture
Reading:
Lecture Notes
(Lecture Slides) Comments: Learn what a class and an object are, through an analogy. The analogy abstracts away from the computer, hiding unnecessary details and making the concepts easier to understand. Later, you can learn something about how these concepts are implemented in the machine itself. But for now, the emphasis is on ease of understanding. Self-help Exercises: Drawing Objects 2. Creating and referencing objects.Web Lecture
Reading:
Lecture Notes
(Lecture Slides) Comments: Learn about the type of object names for a class, how to reference a component (method or field) of an object, and the Java expression for creating an object. Self-help Exercises: Evaluating new-Expressions 3. Class
Web Lecture
|