Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. public static void main(String[] args)
  2. {
  3. byte b = 10;
  4. byte x = 100;
  5. b = (byte) (b * b);
  6. System.out.println("Byte b = " + b + " while byte x =" + x);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement