what is difference between class and object?
Answer Posted / lolo
OBJECT
A software bundle of related state and behavior. Stores the
state in fields and express its behavior through methods.
The methods operate on an object's internal state. Object
is a Physical reality.
CLASS
We can define a class as a blueprint from which the
individual objects are created. Uses a new operator to
create the instance of the class. Class is a logical
construct.
| Is This Answer Correct ? | 84 Yes | 22 No |
Post New Answer View All Answers
What do u mean by variable?
What is a war file?
Explain the difference between string, stringbuffer and stringbuilder in java?
What are the classes of java?
Explain tree set and its features?
What is string and example?
What is a class object?
What is null statement?
what invokes a threads run() method? : Java thread
What is the list interface in java programming?
What is a local class in java?
Is call by reference possible in java?
What Is Composition?
How do singleton patterns work?
how to create constants in java?