How are an object's instance variables initialized if a class has only a default constructor?
Answers
Answered by
1
They all are initialised to their default value.
Numbericals datatype become 0
String become " ".
Thanks alot
Similar questions