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
What is the purpose of using break in each case of switch statement?
How we create object in copy constructor?
What is a treeset in java?
What is the purpose of a default constructor?
What is class??
What is getclass () getname () in java?
What is the difference between jdk, jre, and jvm?
How dead lock situation occurs in java and how you can identify it?
How does multithreading take place on a computer with a single cpu in java programming?
What is a parameter in java?
What is the difference between error and an exception?
What are static methods?
What is the method to declare member of a class static?
How does a for loop work java?
What is the final blank variable?