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