1public class Main {
2 public static void main(String[] args) {
3 var scanner = new java.util.Scanner(System.in);
4 System.out.print("What is your name? ");
5 var name = scanner.nextLine();
6 System.out.println("Hello " + name + "!"):
7 }
8}