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

how we can create packages in java?

732


What is mean by collections in java?

797


5 Coding best practices you learned in java?

838


What is meant by method overriding?

816


Can an interface be defined inside a class?

783


how do I create a runnable with inheritance? : Java thread

764


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

968


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

793


What is oop in java?

740


I want to re-reach and use an object once it has been garbage collected. How it's possible?

789


How list contains works in java?

761


what state does a thread enter when it terminates its processing? : Java thread

839


What is the symbol for average?

736


How many types of parsers are there?

807


What is the difference between iterator and enumeration ?

773