Specially ,classes are data types based on which objects are created.
objects which are having similer properties and methods are grouped together, when set a class.classes having set of individual objects.characteristics are represented as properties of the class .Using methods ,objects become function of the class.
EX:class is CAR
objects: suzuki,Honda,Yamaha...
this car object has its own model/year of manufacture/maximum speed/Engin power these are known as properties..
And associated actions objects function like start move stop methods of car class..
Wednesday, September 2, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment