| 17. | Which of the following access specifies is used in a class definition by default? |
|||||||
Answer: Option C Explanation: No answer description available for this question. Let us discuss.
|
| 18. | Which of the following statements is correct about the constructors and destructors? |
|||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 19. | Which of the following statements is correct when a class is inherited publicly? |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 20. | How can we make a class abstract? |
|||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 21. | Which of the following two entities (reading from Left to Right) can be connected by the dot operator? |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 22. | Which of the following statement is correct regarding destructor of base class? |
|||||||
Answer: Option B Explanation: No answer description available for this question. Let us discuss.
|
| 23. | Which of the following statements is incorrect? |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
| 24. | What happens when we try to compile the class definition in following code snippet? class Birds {}; |
|||||||
Answer: Option D Explanation: No answer description available for this question. Let us discuss.
|
