what is difference between class and object?

Answer Posted / santosh

OBJECT:-instance of class is called object.
CLASS:-group of object is called class.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What access modifiers can be used for class ?

546


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

573


Can we use different return types for methods when overridden?

556


Difference between Linked list and Queue?

613


Is there any difference between synchronized methods and synchronized statements?

586






How can we find the sum of two linked lists using stack in java?

574


How do you implement polymorphism in our day to day life?

2763


Does a class inherit the constructors of its superclass in java programming?

534


How are observer and observable used in java programming?

546


What is the purpose of the finally clause of a try-catch-finally statement in java programming?

513


Is java written in c?

548


how does multithreading take place on a computer with a single cpu? : Java thread

697


How do you add an element to an arraylist in java?

492


What is constructor chaining in java?

588


What do you mean by Function Overloading in java?

635