Vidyalelo
C++ Programming · Q34

Object Oriented Programming in C++

Programming · C++ Programming · question 34

Q34

What is the difference between an object and a class in C++?

A.
A class and an object are the same thing
B.
A class represents a specific instance, whereas an object represents a general template
C.
A class is a blueprint for creating objects, whereas an object is an instance of a class
Answer
D.
An object is a blueprint for creating classes, whereas a class is an instance of an object

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board