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
Answer:C
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