Java class confusion
There are different places where the word "class" occur, http://www.esacfr.com/ - anessa bruno , but they are all related to the same basic meaning. Or are you also confused by the fact that "World of Warcraft" is a game you bought in a store, a shortcut on your desktop, http://www.sacvanessaafr.com/ - boutiques vanessa bruno store , and the name of a folder on your harddisk?
Human has two subclasses in this example: Man and Woman. They have all the state and behaviour of Human but also some state and behaviour unique to each, like the obvious anatomical differences as state and behaviour as, http://www.sacvanessaafr.com/ - discount cabas vanessa bruno , for example, women can have babies, http://bbs.zailx.com/forum.php?mod=viewthread&tid=88863 - http://bbs.zailx.com/forum.php?mod=viewthread&tid=88863 , http://www.femmerobesfr.com/ - http://www.femmerobesfr.com/ , http://www.leehom-sys.com/bbs/forum.php?mod=viewthread&tid=41789 - http://www.leehom-sys.com/bbs/forum.php?mod=viewthread&tid=41789 .
An object is an instance of a slass. To put this another way: Megan Fox is an instance of the class Woman. Being a Woman, she is also an instance of the superclass Human, http://www.promkjoler.com/ - verg��nstigte kleider .
You should name your classes starting with an uppercase and objects starting with an lowercase. A class contains a set of variables which tell you the state of a object from this class. A class contains a set of methods which tell you the behavior of the objects.
|