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
Consider the below picture and choose the correct statement from the following:

- Polygon is the object and the pictures are classes
- Both polygon and the pictures are classes
- Polygon is the class and the pictures are objects
- Both polygon and the pictures are objects
Write a difference between class and object.
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
Name the feature of Java depicted in the below picture.

- Data Abstraction
- Polymorphism
- Class and Objects
- A set of animals