for example :
Classes : Super, Sports and S-class
Vehicles = Bugatti, Nissan GTR , Lotus LFA
Buggati and Nissan GTR = Super
Lotus LFA = S-class
You can think of classes like animal groups too.
E.G :
Classes : Primates and Carnivora
Animals : Gibbon,Bobcat,Chimp and Brown Bear.
Gibbons and Chimps = Primates
Bobcat and Brown Bear = Carnivora
Sources = http://en.wikipedia.org/wiki/Class_(computer_programming)
No comments:
Post a Comment