Question: Which of the following is not a similarity between constructors and destructors? a. Both can be called automatically. b. Both can be overloaded. c. Both

Which of the following is not a similarity between constructors and destructors?

a. Both can be called automatically.

b. Both can be overloaded.

c.  Both have the same name as their class.

d. Both have no return type.

Step by Step Solution

3.25 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

b Bo... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Logic & Design Questions!