Guest User

Untitled

a guest
Nov 18th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. class Octal {
  2. public static void main(String [] args) {
  3. int six = 06; // Equal to decimal 6
  4. int seven = 07; // Equal to decimal 7
  5. int eight = 010; // Equal to decimal 8
  6. int nine = 011; // Equal to decimal 9
  7. System.out.println("Octal 010 = " + eight);
  8. }
  9. }
Add Comment
Please, Sign In to add comment