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 jagged array in java?

519


What does it mean that a method or field is “static”?

543


How can we find the sum of two linked lists using stack in java?

558


How to restrict a member of a class from inheriting by its sub classes?

790


Can we declare a constructor as final?

669






What is natural ordering in java?

517


what is synchronization? : Java thread

552


Is java still necessary?

610


Explain about features of local inner class?

593


Why do we use return statement?

533


What is jrmp?

542


Give us a program to check for parenthesis matching using stack.

550


What does ide stand for?

509


What is meant by JVM? Is JVM platform independent or not?

569


Define a package.

561