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 will happen if a thrown exception is not handled?
How to read and write image from a file ?
Can we serialize static variables in java?
What is the default size of load factor in hashing based collection?
Java Compiler is stored in JDK, JRE or JVM?
Why do we need wrapper class?
What is null statement?
What is jar?
What is java util hashmap?
Explain how can you debug the Java code?
What does the append?
How does finally block differ from finalize() method?
What is private public protected in java?
What is unsigned char?
What is compareto?