Question
Easy
Which of the following constructor related concept is non-relevant in C++?
1
copy constructor
2
conversion constructor
3
overloaded constructor
4
virtual constructor
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Object-Oriented Programming (C++)
Topic: Advanced Class Concepts
Correct Answer
Option D
Explanation
The correct option is (4): The concept of a virtual constructor is non-relevant in C++ because constructors cannot be declared as virtual. The primary purpose of a virtual function is to achieve runtime polymorphism, where the correct function to call is determined based on the actual type of the object pointed to by a pointer or reference. However, when a constructor runs, the object is only partially created, and its…Read More
Similar Questions from REET Exam - Paper 1 - Year 2018
Question 1
Easy
Source :
HTET 2022
Socket address is :
Chapter :
Computer Networks & Internet
Topic :
Internet Protocols
Question 2
Easy
Source :
HTET 2022
Choose valid set of output devices:
Chapter :
Computer System & Hardware Fundamentals
Topic :
Architecture
Question 3
Easy
Source :
HTET 2022
Boolean expression $\sim (A \cdot B) \cdot (\sim A+B) \cdot (\sim B+B)$ is equal to which of the following ?
Question 4
Easy
Source :
HTET 2022
Terms NTFS and FAT 32 are closely related to which action on computer?
Chapter :
Operating Systems & Software Concepts
Topic :
MS Window