what is difference between class and object?

Answer Posted / shashank

Class cannot be passed as a prameter or orguments,
But object can be passed as argument or parameter.

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can sleep() method causes another thread to sleep?

558


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

616


What is the reflection?

555


How variables are declared?

509


What are the properties of thread?

490






What is autoboxing in java?

597


Can we have multiple public classes in a java source file?

549


How finally used under exception handling?

503


What are multiple inheritances?

573


Explain about main thread in java?

606


If a class is declared without any access modifiers, where can the class be accessed?

588


How to perform binary search in java?

565


Convert Binary tree to linked list.

580


Why call by value prevents parameter value change?

577


What is an example of procedure?

508