Tuesday, 14 October 2014

Lesson 18 What is class and object

What is class?
Class is a set of object that share common structure and common behaviour is called class.
For example
Flora, fauna, flower, animal, bird etc..
What is object?
An object is something that has a fixed set of well define boundary. If you look at your computer disk you would object varying descriptions


For example
A keyboard may be attached to pc and it is also easy to see different parts of pc are distinct objects


&Note

In ordinary sense, an object is something which can be seen, touch or sensed.

No comments:

Post a Comment