Question Detail

Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined
Similar Questions :

1. An explicitly defined destructor function

  • may be virtual
  • may not be virtual
  • will always be virtual
  • will never be virtual

2. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor

3. Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for

4. Only one copy of the class is inherited, when it is defined as ?

  • virtual
  • public
  • static
  • private

5. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above
Read more from - C++ Programming Questions Answers - Set 2