MCQOPTIONS
Bookmark
Saved Bookmarks
→
Object Oriented Programming (OOP)
→
General
→
Which of the following is true about constructors.
1.
Which of the following is true about constructors.
A.
all 1, 2, and 3
B.
only 1 and 3
C.
only 1 and 2
D.
only 2 and 3
Answer» C. only 1 and 2
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of following program?
#include using namespace std; int main()
What will be the values of x, m and n after execution of the following statements? Int x, m, n;
#include using namespace std;
class Test { int x;
#include using namespace std; class Point {
Predict the output of following C++ program
Which of the following operators are overloaded by default by the compiler?
Which of the following statements is correct for a static member function?
Which of the following is true about constructors.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies