what is difference between class and object?
Answer Posted / devarathnam c,kotagudibanda(po
Hi... Class is a blue print of an object,which is non-live
entity.
Object is instance of class,which is a live entity.
example: Employee is a class
Fruit is a class
but
DEVARATHNAM is an object
ROSE is an object
| Is This Answer Correct ? | 99 Yes | 39 No |
Post New Answer View All Answers
What is a parent class in java?
Explain wait(), notify() and notifyall() methods of object class ?
What is package private scope in java?
What are class types in java?
Can bool be null?
What is array initialization in java?
What is considered an anti pattern?
What is a module function?
How java is similar to c?
What are the restriction imposed on a static method or a static block of code?
Can we write any code after throw statement?
State two differences between C and Java.
what is meant by Garbage collection?
Explain different forms of polymorphism?
How do you use spaces in java?