what is difference between class and object?
Answer Posted / annie
Object is a real world entity.It can be similar to any single real thing of this world regardless of living and non-living thing,e.g.,a parrot or a room.
When objects that share similar features like behaviour,characteristics..etc. when grouped together can be termed as a class, e.g.,parrot can be an object of class bird, and room can be a object of class building.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How many digits is int32?
Explain restrictions on using enum?
What is the difference between java applets and applications?
Which sorting is used in arrays sort in java?
What do negative exponents mean?
Explain list interface?
What are conditionals and its types?
Explain garbage collection in java?
What is the relationship between class and object?
What is the difference between state-based unit testing and interaction-based unit testing?
What are the classes of java?
What is difference between final and immutable?
Which api is provided by java for operations on set of objects?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
Which eclipse is best for java?