Which among the following is not a necessary condition for constructors?

Which among the following is not a necessary condition for constructors?
A. Its name must be same as that of class
B. It must not have any return type
C. It must contain a definition body
D. It can contains arguments
 

Tìm kiếm

Back
Top