Unformatted text preview:

HelloJack.java Friday, January 14, 2022, 7:52 PM1 import components.simplereader.SimpleReader;56 /**7 * Put a short phrase describing the program here.8 *9 * @author Chime Nwaru10 *11 */12 public final class HelloJack {1314 /**15 * Private constructor so this utility class cannot be instantiated.16 */17 private HelloJack() {18 }1920 /**21 * Main method.22 *23 * @param args24 * the command line arguments25 */26 public static void main(String[] args) {27 SimpleReader in = new SimpleReader1L();28 SimpleWriter out = new SimpleWriter1L();29 /*30 * Put your main program code here31 */out.println("What is your name?");32 String name = in.nextLine();3334 out.print("Hello, " + name + ".");35 ;36 /*37 * Close input and output streams38 */39 in.close();40 out.close();41 }4243 }44Page


View Full Document

UIUC SOC 100 - HelloJack

Download HelloJack
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view HelloJack and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view HelloJack 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?