How can I store an integer in two digit format in Java? Like can I set
int a=01;
and print it as 01? Also, not only printing, if I say int b=a;, b should also print its value as 01.
How can I store an integer in two digit format in Java? Like can I set
int a=01;
and print it as 01? Also, not only printing, if I say int b=a;, b should also print its value as 01.