0
Wt is constructor and y we use in programs
2 Antworten
+ 2
A constructor is invoked at the time of object creation. It constructs the values and provides data for the object. Constructors must have the same name as the class and must have no explicit return type.