For instance variables, Java has default initial value for those variables. But, the wrapper class of primitive variable, like Integer, Float..., will not have default initial value even they are declared as instance variables.
For variable within a method, Java has NO initial value for those variables.
For variable within a method, Java has NO initial value for those variables.
No comments:
Post a Comment