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 are operators and its types?
Is null function in java?
What are the disadvantages of object oriented programming?
Is vector thread safe in java?
What is class and its types?
How do you clear a list in java?
Is multiple inheritance supported by java?
What is meant by call by reference?
What are design patterns and please explain?
Can java list be null?
How do you remove duplicates in java?
What are the limitations of procedural programming approach?
What are the various access specifiers for java classes?
Can a abstract class be declared final?
What is array sorting in java?