integers are assigned 0 value by default, and objects (String is one of) are assigned null by default.
So there is no difference if you write:
int age = 0;
and
int age;
Type: Posts; User: nambill
integers are assigned 0 value by default, and objects (String is one of) are assigned null by default.
So there is no difference if you write:
int age = 0;
and
int age;