McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Computer Science Engineering (CSE)
→
Object Oriented Programming (OOP)
→
There is nothing like a virtual construc...
Q.
There is nothing like a virtual constructor of a class.
A.
true
B.
false
Answer» B. false
3.7k
0
Do you find this helpful?
6
View all MCQs in
Object Oriented Programming (OOP)
Discussion
No comments yet
Login to comment
Related MCQs
What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?
Every class has at least one constructor function, even when none is declared.
Output of following program? #include<iostream> using namespace std; class Point { Point() { cout <<"Constructor called"; } }; int main() { Point t1; return 0; }
#include<iostream> using namespace std; class Point { public: Point() { cout <<"Constructor called"; } }; int main() { Point t1, *t2; return 0; }
What is a constructor?
Which of the following functions are performed by a constructor?
Which of the following is true about new when compared with malloc. 1) new is an operator, malloc is a function 2) new calls constructor, malloc doesn't 3) new returns appropriate pointer, malloc returns void * and pointer needs to typecast to appropriate type.
When a copy constructor may be called?
Which of the following operators allow defining the member functions of a class outside the class?
Which type of class has only one unique value for all the objects of that same class?