what is difference between class and object?

Answer Posted / ravinderreddyk

Class:Class is a collection of similar objects.
Object:Object is a instance of class

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does java doesnt suuport unsigned values?

1798


Justify your answer that you can't define a method inside another method in java, if you can then how?

604


What is boolean example?

525


If two threads have same priority which thread will be executed first ?

844


What is the significance of continue jump statement? Explain with an example.

741






What does this () mean in constructor chaining concept?

560


What is a substitution variable?

567


Explain when classnotfoundexception will be raised ?

567


Why set is used in java?

571


What are the two ways in which thread can be created?

598


Convert a BST into a DLL and DLL to BST in place.

674


What is java basic concept?

525


What is a ternary operator in java?

533


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1604


How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?

755