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
Where pragma is used?
How do you use spaces in java?
What about features of local inner class?
How do you compare two objects?
What are keywords in java?
Name few java util classes introduced with java 8 ?
What is use of super keyword in java?
Why do we use bufferedreader?
Why collection doesn’t extend cloneable and serializable interfaces?
Is a copy constructor?
Can we have more than one package statement in source file ?
What is the technique adopted to create an immutable class?
How can we make sure main() is the last thread to finish in java program?
What is the set interface in java programming?
How do you compare values in java?