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