Let's say i have a binary number initialized like this:
int y=0b110101;
How could i convert 110101 to a String? I would like this:
String str1 = Integer.toString(y);
System.out.println(str1);
to give result 110101 or 0b110101 and not 53.