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
Is stringwriter thread safe?
What is synchronization and why is it important in java programming?
How static variable work in java?
What are the methods to rectify ambiguities in the interfaces in JAVA?
Give example to differentiate between call by value and call by reference.
What is Java Reflection API? Why it’s so important to have?
What if static is removed from main method?
What is the difference between heap and stack memory?
What are recursive functions?
If goto and const is reserve words than why it is not work in java?
What are static variables and functions?
What is heterogeneous in java?
How to create a thread in java?
How would you format a date in java? I.e. In the ddmmyyy format?
Write a java program to generate fibonacci series ?