206k views
1 vote
What is a relationship between an object and a class?

A. An object is an instance of class
B. A class is an instance of an object.
C. A class is an instance of data type
D. An object is an instance of a data type.

User Jasen
by
5.9k points

1 Answer

3 votes

Answer:

A. An object is an instance of class

Step-by-step explanation:

An object is an identifiable identity with some common characteristics state and behaviour

whereas

A class is a blueprint of a set of objects

User AppyMike
by
5.8k points