Computer Applications
Why do we need a constructor as a class member?
Java Constructors
ICSE 2007
51 Likes
Answer
A constructor is used to initialize the objects of the class with a legal initial value.
Answered By
25 Likes
Why do we need a constructor as a class member?
51 Likes
A constructor is used to initialize the objects of the class with a legal initial value.
Answered By
25 Likes