What are the default values of instance variables whether primitive or reference type in Java?
Answers
Answered by
0
when we haven't initialized the instance variable compiler initialized them with default value. for boolean types, that dafault value is false , for float and double types dafault values are 0.0 and for remaining privative types dafault values is 0 ....
Similar questions