Professional Documents
Culture Documents
1. Object
2. Class
3. Data abstraction
4. Data encapsulation
5. Inheritance
6. Polymorphism
7. Dynamic binding
1. Object
Objects are important runtime entities in object oriented method. They may
characterize a location, a bank account, and a table of data or any entry that the
program must handle.
For example:
Object: STUDENT
DATA
Name
Address
Marks
METHODS
Total()
Average()
Each object holds data and code to operate the data. Object can interact without
having to identify the details of each other’s data or code. It is sufficient to
identify the type of message received and the type of reply returned by the
objects.
Colour
Cost
METHODS
LockIt()
DriveIt()
Fig.1.2 Representation of object “CAR”
2. Classes
For example:
Fruit
Banana Apple
Car Bus