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 : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |