Computer Applications
Write a difference between class and an object.
Objects & Classes
33 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
15 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
Which keyword allocates objects in dynamic memory?
- this
- private
- new
- int
An object is an instance of a:
- function
- state
- data
- class
Write a difference between class and object.