Object Oriented Programming

1:

Which of the following remarks about the differences between constructors and destructors are correct ?    

A.

Constructors can take arguments but destructors cannot.

B.

Constructors can be overloaded but destructors cannot be overloaded.

C.

Destructors can take arguments but constructors cannot.

D.

Both (a) and (b)

 

Answer : D

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.