Question Detail

Which among following is not a valid visibility mode in c++ program ?

  • Private
  • Public
  • Protected
  • Limited
Similar Questions :

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

2. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above

3. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

4. Can we define array of classes in c++ ?

  • Yes
  • No

5. Queues are based on ?

  • LIFO
  • FIFO
  • LILO
  • FILO
Read more from - C++ Programming Questions Answers - Set 2