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


Please Help Members By Posting Answers For Below Questions

What is meant by 'Class access modifiers'?

809


What is boolean law?

724


how to create constants in java?

831


What is difference between next () and nextline () in java?

763


Why to use nested classes in java?

792


What are the data types supported by java?

748


Why lambda expression is used in java?

772


What does yield method of the thread class do?

765


Can we overload destructor in java?

759


Which collection does not allow duplicates in java?

712


what is difference betweem home interface and remote interface?

2342


Which command from the jdk compiles a java program?

679


Is there a case when finally will not execute?

777


What are the different data types in java?

749


How to calculate the length of a singly linked list in java?

778