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
Read the following text, and choose the correct answer:
They are the real world or software world entities which possess different characteristics and common behaviour described within the class.
Which of the following concept of Object Oriented Programming describe?
- Class
- Object
- Quality
- Category
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{}