Which of the statements are true about the class MailingList? The compiler-gener
ID: 3757539 • Letter: W
Question
Which of the statements are true about the class MailingList?
The compiler-generated copy constructor is satisfactory.
It violates the RUle of the Big 3.
It is legal to assign one variable of type MailingList to another.
It has no default constructor
The programmer should provide a destructor
The compiler-generated copy constructor is satisfactory.
It violates the RUle of the Big 3.
It is legal to assign one variable of type MailingList to another.
It has no default constructor
The programmer should provide a destructor
Explanation / Answer
It has no default constructor
Default constructor has the same name as the class name. In the defined class MailingList has no default constructor because there are no MailingList(){} with no parameter defined in class.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.