download Mastguru Android App

Question Detail

Classes in c++ are ?

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

1. The members of a class are ?

b) by default are private
c) are made private by declaring as private
d) none of the above]

  • have no visibility by default
  • public by default
  • private by default
  • protected by default

2. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above

3. Destructors are called ?

  • not defined
  • in any order
  • in the reverse order of constructor calls
  • in the same order of constructor calls

4. When a structure refers to itself, it is known as ?

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure

5. Inheritance is transitive in nature.

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2
Post a comment