| Author |
classess & objects
|
sano vasu
Greenhorn
Joined: Mar 26, 2005
Posts: 8
|
|
Hello Friends, what is the difference between class,an object and instance in detail it would be very helpful for me .Thank u
|
 |
Horatio Westock
Ranch Hand
Joined: Feb 23, 2005
Posts: 221
|
|
|
Why not look it up. There are many, many, many websites which your can research.
|
 |
Heba Hus
Greenhorn
Joined: Mar 22, 2005
Posts: 14
|
|
Objects can be compared to the objects in the external world, such as your computer, your house, animals and plants. Ina an application you can have objects such as buttons and list boxes. Most objects are made up of other objects - your house has rooms, doors, windows and so on. If we know that we can build a house by combining these objects then we do not need to worry about the design and structure of each object, which may be very complex. Similarly in object orientated programming (OOP) if we have objects which behave in a defined way, we can combine them together to make an application without worrying about what happens inside each object. The difference between objects and classes is that many programmers become confused between objects and classes. A class is the defenition for a group of similar objects with similar properties. For example, a house, a flat and an igloo all belong to the building class. In OOP jargon, the objects belonging to a class are instances of that class Here are some useful links: www.medsch.wisc.edu/~milenkvc/pdf/javaproxy.htm http://juicystudio.com/tutorial/java/object.asp http://www.boloji.com/java/j003.htm Hope that i helped alittle
|
 |
 |
|
|
subject: classess & objects
|
|
|