Computer Applications
What is the difference between an object and a class?
Objects & Classes
ICSE 2011
21 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
10 Likes
Related Questions
An object is an instance of a:
- function
- state
- data
- class
Creating an object of a class is also referred to as:
- Initialisation
- Creation
- Formation
- Instantiation
Which is a valid display() method declaration of a class Sample?
- Void Sample{int x}
- public void display()
- public void Show()
- Display{}
Write a difference between class and object.