what is difference between class and object?

Answer Posted / santosh

objects basic runtime entities.object tack up space in memory.
when program executed the objects are sending messages each other.

class contain so many objects.class is set of data members and member functions.we invoke class must create object.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is thread safe java?

495


What is difference between final and immutable?

561


What is the java virtual machine?

582


How do you sort an array in java?

541


How do I get 64 bit java?

527






What is stringwriter?

538


Explain the JDB in depth & command line.

568


What do you mean by buffering?

553


Explain about fail safe iterators in java?

566


What are "class access modifiers" in Java?

613


What will be the output of round(3.7) and ceil(3.7)?

683


Why scanner is used in java?

550


what is meant by HQL?

641


Can a final method be overloaded?

510


What is prefix of a string?

575