McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2024
→
Computer Science Engineering (CSE)
→
Object Oriented Programming (OOP)
→
Can destuctors be private in C++?
Q.
Can destuctors be private in C++?
A.
yes
B.
no
Answer» A. yes
3.6k
0
Do you find this helpful?
31
View all MCQs in
Object Oriented Programming (OOP)
Discussion
No comments yet
Login to comment
Related MCQs
In a class definition, data or functions designated private are accessible
Which of the following is true about constructors. They cannot be virtual. They cannot be private. They are automatically called by new operator
Which of the following statements is correct for a static member function? 1. It can access only other static members of its class. It can be called using the class name, instead of objects
Can constructors be overloaded?
An abstract class can be instantiated.
Variables declared in the body of a particular member function are known as data members and can be used in all member functions of the class.
A member function can always access the data
A variable of type char can hold the value 301.
Which of the following can legitimately be passed to a function?
How many values can be returned from a function?