download Mastguru Android App

Question Detail

What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.
Similar Questions :

1. Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined

2. Inheritance is transitive in nature.

  • True
  • False

3. Which variables cannot be declared ?

  • structure
  • pointer
  • class
  • void

4. 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

5. 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
Read more from - C++ Programming Questions Answers - Set 2
Post a comment