/** 10/15/2018
  * Our first method
  */

public class HelloMethod
  /** This class prints Hello World in a method */
{ 
  
 public static void main(String[]  args)
 {
   // call method sayHello
   for (int i=0; i<5; i++)  {
        sayHello();
   }
 }

 /** sayHello prints Hello World to the screen 
   * no parameters
   * returns void 
   */
 public static void sayHello()  
 {
   System.out.println("just entered method.");
   System.out.println("Hello World!");
   System.out.println("done inside method, ready to leave.");
 }
} 