download Mastguru Android App

Question Detail

The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance
Similar Questions :

1. The derived class constructor

  • never passes any values to base class constructor
  • can pass arguments only to one base class constructor function
  • is responsible for passing the entire test of arguments needed by base class constructors
  • none of above

2. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends

3. When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class

4. In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above

5. The private data members of a class are accessible ?

  • Directly to objects of that class
  • To any function defined outside a class
  • Only to the member functions
  • Only using keyword static
Read more from - C++ Programming Questions Answers - Set 2
Post a comment