C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 2)
2.
Which of the following is not a type of constructor?
Copy constructor
Friend constructor
Default constructor
Parameterized constructor
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
68 comments Page 5 of 7.

Rajput yogesh said:   1 decade ago
1. Constructor.

2. Copy constructor.

3. Default constructor.

4. Parameterized constructor, only three type of constructor also friend is a special member function are there.

Yogesh rajput said:   1 decade ago
Only three type of constructor are, friend is a special member function, so it is a right answer.

Neelam said:   1 decade ago
Total three types of constructor is there.

Neelam said:   1 decade ago
Any other constructors?

Thazaar said:   10 years ago
Constructors are used to initialize the object whereas friend function is used to access the private data member of the classes.

Jitendra Kumar said:   10 years ago
C++ have only three type of constructor:

1. Copy constructor.

2. Default constructor.

3. Parameter constructor.

Raman said:   10 years ago
The dynamic constructor is not in this? Why?

Satya said:   10 years ago
The default object is constructor.

Sakshi jain said:   9 years ago
Default, Parameterized, and Copy constructor are the constructor types of C++.

Akash Dhule said:   9 years ago
Remaining options are types of constructor and friendly is a function.


Post your comments here:

Your comments will be displayed after verification.