A simple programming

Users questions:In the command line, type a string, such as the aaa program displays a hello: aaa
Experts answer:importjava.util .*; publicclassAaa () (publicstaticvoidmain (String [] args) (Scannersc = newScanner (System.in); System.out.print ( "Enter string:"); Stringa = sc.nextLine (); System.out.println ( "* n Hello:" + a);))
  • This information provided by the users.Thanks!