java string user input code "system.out.println" code example Example: output statement java System.out.println("Hello World");