1. | Which of the following type of class allows only one object of it to be created? |
Answer: (c).Singleton class
|
2. | Which of the following is not a type of constructor? |
Answer: (b).Friend constructor
|
3. | Which of the following statements is correct? |
Answer: (b).Derived class pointer cannot point to base class.
|
4. | Which of the following is not the member of class? |
Answer: (b).Friend function
|
5. | Which of the following concepts means determining at runtime what method to invoke? |
Answer: (c).Dynamic binding
|
6. | Which of the following term is used for a function defined inside a class? |
Answer: (b).Member function
|
7. | Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified? |
Answer: (c).Default arguments
|
8. | How many instances of an abstract class can be created? |
Answer: (d).0
|
9. | Which of the following concepts of OOPS means exposing only necessary information to client? |
Answer: (c).Data hiding
|
10. | Why reference is not same as a pointer? |
Answer: (d).All of the above.
|