Correct Answer: Public
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C++ Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C++ MCQ Questions
A binary search begins with the ________ element of an array.
A class may have ________ default constructor(s) and ________ destructor(s).
A function can have zero to many parameters, and it can have ________ return value(s).
A(n) ________ can be used to specify the starting values of an array.
An array with no elements is ________.
Which of the following statement is correct? (Choose all that apply)
Which statement is true? (Choose all that apply.)
Which is TRUE? (Choose all that apply)
Which types of inheritance supported in C++?
Output of the code? class Shape { public: virtual void draw() = 0; }; class Rectangle: public Shape { public: void draw() { // Code to draw rectangle } //Some more member functions..... }; class Circle : public Shape { public: void draw() { // Code to draw circle } //Some more member functions..... }; int main() { Shape objShape; objShape.draw(); } What happens if the above program is compiled and executed?