what is the difference between object and class

Answer Posted / hong

What kind of members they can refer to:
Class - only static members;
Object - all members.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Implement a stack with push (), pop() and min() in O(1) time.

644


What does it mean that strings are immutable?

590


How to sort numbers in java without array?

542


What is formatted output?

524


What is the difference between comparison done by equals method and == operator?

582






What do you mean by constant time complexity?

608


What are wrapped classes in java programming?

597


What are the drawbacks for singleton class?

530


what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread

507


What super () does in java?

496


State some situations where exceptions may arise in java?

634


What is the function of static in java?

553


What is static variable with example?

576


Explain serialization and deserialization in java?

569


Does java set allow duplicates?

543