what is difference between class and object?
Answer Posted / deepak
class is a collection of its instance members like
variables and method. Objects are declared in the class.
Objects are nothing but a entity which keeps the refrence.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
How many types of memory areas are allocated by JVM in java?
Is java good for beginners?
Does sprintf add a null terminator?
Does java support multiple inheritance or not?
What are the differences between heap and stack memory?
Why is boolean important?
how can i use a nonsynchronized hashtable?
What is a map? What are the implementations of map?
What are scalar data types?
What is unmodifiable collection in java?
Which is bigger float or double java?
Is singleton thread safe in java?
How we can run a jar file through command prompt in java?
What is bean? Where it can be used?