Computer Applications
Write a difference between class and an object.
Objects & Classes
24 Likes
Answer
A class is a blue print that represents a set of objects that share common characteristics and behaviour whereas an object is a specific instance of a class having a specific identity, specific characteristics and specific behaviour.
Answered By
14 Likes
Related Questions
Assertion (A): A car can be defined as a real world object that possesses some characteristics and behaviour.
Reason (R): Each real world object may contain some characteristics but not behaviour.
Based on the above discussion, choose an appropriate statement from the options given below:
- Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).
- Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).
- Assertion (A) is true and Reason (R) is false.
- Assertion (A) is false and Reason (R) is true.
By default, a class is declared using the access specifier …………… .
- private
- public
- protected
- secured
Name the feature of class in Java depicted in the below picture.

- Displaying a set of animals
- Class in an object factory
- Animal is an object factory
- Object is a factory