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
What do you know about the garbage collector in java?
Why singleton pattern is better than creating singleton class with static instance?
What are the advantages and disadvantages of object cloning?
What is method overloading with type promotion?
What is the impact of declaring a method as final?
Explain about field hiding in java?
How do you classify Dialog Box?
What does %4d mean in java?
What is generic class?
What is this keyword used for?
What is local declaration?
What is the difference between an inner class and a sub-class?
Difference between overriding and overloading in java?
What is java regex?
What are the advantages of functions?