|
||
|
Lesson 1
Object Concepts Introduction |
||
|
Object-oriented programs are made up of classes. Classes correspond to real-world entities such as bank accounts or customers. An
object is one instance of a class, much as 3 is an instance of a number and hello is an instance of an English word.
There are rules about how to add and subtract numbers, and they apply to all numbers. There are rules about how to write and say words, and they apply to all words. Similarly, when you define a class, you are setting the rules for all the objects of that class. In this module, you will define the classes you named in the previous module. You'll learn about:
|
||
|
|
||