what is difference between class and object?
Answer Posted / deen muhammad
I think a class is the superset of an object and object is
subset of a class.
A class contain so many objects but an object only belongs
to one class
example: A human being is a class while its body parts are
the objects of that class.
| Is This Answer Correct ? | 11 Yes | 8 No |
Post New Answer View All Answers
What is an escape character in java?
what is abstract class in Java?
What is difference between float and double?
What is fail first in java?
What is a file pointer?
What is the history of java?
What is equals method in java?
What is the purpose of declaring a variable as final?
What is the difference between preparedstatement and statement in java?
What is the difference between error and an exception?
What is core java used for?
What is difference between overloading and overriding in java?
What is <> used for in java?
Difference between a class and an object?
How do you override a method in java?