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 is generic class?
What is collection class in java?
What is string and its types?
Is arraylist ordered?
Can you explain the cs option of java interpreter?
What are green threads in java?
What is final class?
Explain the differences between abstraction and encapsulation?
What is the purpose of extern variable?
Is string serializable in java?
How many types of memory areas are allocated by jvm?
What Is Query Throttling in java?
What is unicode used for?
What is the base class of all exception classes?
What is procedure writing?