Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RadixExample {
- public static void main(String[] args) {
- System.out.println(010); // radix = 8
- System.out.println(0b10101101); // radix = 2
- System.out.println(0xABBA); // radix = 16
- }
- }
Add Comment
Please, Sign In to add comment