A Admin • 828.03K Points Coach Q. In Java, can a constructor have a return type? (A) No, constructors do not have a return type (B) Yes, it must have the same return type as the class (C) Yes, it can have any return type (D) Yes, but it must be "void" Correct Answer - Option(A) Views: 12 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.