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 is proper subset?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What are the 6 boolean operators?
Is there a sort function in java?
Can a static class have a constructor?
What is the difference between a static and a non-static inner class in java programming?
How does queue work in java?
What type of variable is error flag?
Explain different forms of polymorphism?
How do you sort in ascending order in java?
What will happen if a thrown exception is not handled?
What about interthread communication and how it takes place in java?
What does jenkins do?
What do you mean by singleton class in java?
Difference between a process and a program?