Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

This page removed for FERPA compliance
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Final Exam Review Fall 2004: Classes and Objects

Classes are like instances? or is the object of the class called an instance?
Objects are instances of classes and they can KNOW AND DO THINGS
Classes are not like instances. Student1594
procedural is not a characteristic of oop
classes are like individuals because they represent what each object of the class knows and can do?
Classes are not like individuals. Objects are like individuals. Student1594
so if classes are not instances nor are they individuals.. that makes them b) blueprints or templates ?
That sounds about right to me. A class is like a blueprint or template that objects (the instances or individuals) are made of. You can make many instances from one class just like you can make many cookies from one recipe, or many houses from one set of blueprints. For example: joe = REMOVED();jane=REMOVED();sally=REMOVED() from the previous question. All are boxes (instances of the class REMOVED) Each can then on it's own draw itself. joe.draw(canvas) will draw the instance called joe on the canvas jane.draw(canvas) will draw the instance called jane on the canvas, etc. Make sense? Student1594
These are the answers from the review session:
1. b
2. c
3. d




Link to this Page