A class contains _________ of other class.

Options
- Object
- method
- variable
- none of these


CORRECT ANSWER : Object

Discussion Board
C++ - Classes and Objects

The class contains an object of another class. Object is an instantiation of a class. It has same relationship to class as variable has to the data type. Object is created from a class.

Prajakta Pandit 01-27-2017 04:02 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement