0
In JAVA data type var, is it save any default value?
When we declaire variable as in global as a static in JAVA so it definitely save default value. So my question is that the data type var is save in value as a default?
2 Réponses
0
Yes var has its default value.
Integral data type:
Value--> 0;
Floating data type:
Value--> 0.0;
Boolean data type:
Value--> false;
String data type:
Value --> null;
0
What is default value of var?... please mention it.