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