Advertisement
Guest User

Untitled

a guest
Feb 24th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. System.out.println("Welcome.");
  2. Scanner keyboard = new Scanner(System.in);
  3.  
  4. int a = 4 + 8;
  5. System.out.println(a);
  6.  
  7. String firstName = "Ivan";
  8. String lastName = "Georgiev";
  9. String fullName = firstName + " " + lastName;
  10.  
  11. System.out.println(fullName + " " + a);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement