You are viewing a single comment's thread. Return to all comments →
String strBinary = Integer.toString(n, 2); Can you please explain this line of code? How 5 is converted to 101 in binary?
Seems like cookies are disabled on this browser, please enable them to open this website
Day 10: Binary Numbers
You are viewing a single comment's thread. Return to all comments →
String strBinary = Integer.toString(n, 2); Can you please explain this line of code? How 5 is converted to 101 in binary?