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. 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. Operator overloading is ?

  • giving new meaning to existing c++ operators
  • making c++ operators work with objects
  • giving c++ operators more than they can handle
  • making new c++ operators

3. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

4. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

5. Enumerator will allocate the memory when its variables are defined.

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