[Home]History of Class in object-oriented programming

HomePage | Recent Changes | Preferences

Revision 4 . . December 9, 2001 10:05 am by EdwardOConnor [methods aren't always part of classes in OO.]
Revision 3 . . December 9, 2001 9:51 am by Taw [containing relation]
Revision 2 . . December 9, 2001 9:37 am by Alan D [added some stuff, reworded definition]
Revision 1 . . December 9, 2001 8:04 am by Taw [splitted away from Class article, relations between classes]
  

Difference (from prior major revision) (no other diffs)

Changed: 1c1
A class is a kind of template (not to be confused with a C++ template however) that describes the underlying structure of a group of objects. A class specifies the data items each object of the class contains and the operations or methods that can be performed on each object belonging to the class. An object belonging to a class is also called an instance? of the class. It could be said that a class is like the blueprint, and an object is the house.
A class is a kind of template (not to be confused with a C++ template however) that describes the underlying structure of a group of objects. A class specifies the data items each object of the class contains and the operations or methods that can be performed on each object belonging to the class (in object-oriented languages that lack generic functions). An object belonging to a class is also called an instance? of the class. It could be said that a class is like the blueprint, and an object is the house.

HomePage | Recent Changes | Preferences
Search: