Why do we need the methods like Integer.toBinaryString(5)just for Integer and Long in Java. Integer.toString(5, 2) can do the same thing.
Also, why dont we have a toString methods available for short with two arguments(i.e, with Radix).Is it because we dont cover large range of values using it.