How the constructors and destructors can be differentiated?

Trường Phan

New member
How the constructors and destructors can be differentiated?
A. Destructor have a return type but constructor doesn’t
B. Destructors can’t be defined by the programmer, but constructors can be defined
C. Destructors are preceded with a tilde (~) symbol, and constructor doesn’t
D. Destructors are same as constructors in syntax
 

Tìm kiếm

Back
Top