C++ Programming - Objects and Classes
Exercise : Objects and Classes - General Questions
- Objects and Classes - General Questions
- Objects and Classes - Programs
1.
What happens when we try to compile the class definition in following code snippet?
class Birds {};
class Peacock : protected Birds {};
2.
Which of the following statements is incorrect?
3.
Which of the following statement is correct regarding destructor of base class?
4.
Which of the following two entities (reading from Left to Right) can be connected by the dot operator?
5.
How can we make a class abstract?
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers