Guest User

Untitled

a guest
Apr 23rd, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. public class Teste {
  2. public static void main(String[] args) {
  3. int x = 0;
  4. int y = 1;
  5. int z = 2;
  6. System.out.print(x + y + z);
  7. }
  8. }
  9.  
  10. public class Teste {
  11. public static void main(String[] args) {
  12. int x = 0;
  13. int y = 1;
  14. int z = 2;
  15. System.out.print(x + " " + y + z);
  16. }
  17. }
  18.  
  19. x + " "
  20.  
  21. "0 "
  22.  
  23. "0 " + y
  24.  
  25. "0 1"
  26.  
  27. "0 1" + z
  28.  
  29. "0 12"
  30.  
  31. public class Teste {
  32. public static void main(String[] args) {
  33. int x = 0;
  34. int y = 1;
  35. int z = 2;
  36. System.out.print(x + " " + (y + z));
  37. }
  38. }
Add Comment
Please, Sign In to add comment