KnowledgeBoat Logo

Computer Applications

Why do we need a constructor as a class member?

Java Constructors

ICSE 2007

37 Likes

Answer

A constructor is used to initialize the objects of the class with a legal initial value.

Answered By

18 Likes


Related Questions