what is difference between class and object?
Answer Posted / deepak maurya
object is an instance of a class.
class is a collection of object.
object do not contain sub parts.
class do contain sub part ie; sub-class
object do contain some information.
class do not contain some information
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why hashset is used in java?
Which java ide is used the most?
What happens if constructor is private?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
Why java is platform independent? Explain.
How to sort array of 0 and 1 in java?
What is the default value of byte datatype in java?
design an lru cache in java?
What are the various access specifiers in java?
What do you mean by synchronized non access modifier?
Tell me how many ways are there to initialise an integer with a constant.
How to retrieve data from database in java using arraylist?
How variables are stored in memory?
What is the difference between array list and vector in java?
what is daemon thread and which method is used to create the daemon thread? : Java thread