Lesson 5 | Objects are instances of classes |
Objective | Describe how Objects instantiate Classes |
Point
object whose x
attribute is 0.0 and whose y
attribute is 0.0. This can be represented by an object diagram.Title
class might include the Gone With the Wind
title or the Bambi title. Objects of the Customer
class might include "Jo
Smith
" Here's how that object might look:
Jo Smith: Customer |
Name: Jo W. Smith Address: 123 Main Street, Ourtown Phone: 555-1212 Balance: 1.00 |