![]() |
Active Topics Memberlist Calendar Search |
| |
| News | |
| |
|
| Author | Message |
|
jitmvyfy1
Senior Member
Joined: Jan 20 2013 Location: United Kingdom Online Status: Offline Posts: 934 |
![]() Topic: An object is an instance of a slass. To put this aPosted: Feb 11 2013 at 6:56pm |
|
Java class confusion
There are different places where the word "class" occur,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,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,discount cabas vanessa bruno, for example, women can have babies,http://bbs.zailx.com/forum.php?mod=viewthread&tid=88863,http://www.femmerobesfr.com/,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,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. |
|
IP Logged |
|
|
||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
|