/** Print hello there plus whatever names are given
 *  when this java class is run.  
 *  To run this java class simply enter:
 *  java Hello
 *  If you want to add names simply enter:
 *  java Hello Andrew, Faisal, Abe, Angie, Maria, Azedah
 *  java will look for the main class in the class that is 
 *  invoked, and execute the commands in that class.
 *  There is only one main class in a class.
 *  Whatever data is entered after the class name when invoking 
 *  is passed in the array called args.
 *  (e.g., above Andrew, Faisal, Abe, Angie, Maria, Azedah 
 *   are all entered after Hello, the class name)
 */
public class Hello {
  public static void main(String[] args) {
    System.out.print("Hi there");
    if (args.length != 0) {
      System.out.print(" "+ args[0]);
      for (int i = 1; i < args.length; i++) {
        System.out.print(", " + args[i]);
      }
    } 
    System.out.println("!");
  }
  
}
