HelloJack java Friday January 14 2022 7 52 PM 1 import components simplereader SimpleReader 5 6 7 Put a short phrase describing the program here 8 9 author Chime Nwaru 10 11 12 public final class HelloJack 13 14 15 Private constructor so this utility class cannot be instantiated 16 17 private HelloJack 18 19 20 21 Main method 22 23 param args 24 the command line arguments 25 26 public static void main String args 27 SimpleReader in new SimpleReader1L 28 SimpleWriter out new SimpleWriter1L 29 30 Put your main program code here 31 out println What is your name 32 String name in nextLine 33 34 out print Hello name 35 36 37 Close input and output streams 38 39 in close 40 out close 41 42 43 44 Page 1
View Full Document