Multiple choice

In C++, 'Car' is considered as which of the following?

  1. Object

  2. Attribute

  3. Class

  4. Structure

  5. String

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In C++, 'Car' can be considered as class type because class would be the basic type and the various models of the cars forms the object of the class 'Car'.