/* This program calls a simple method using a loop

*
*/

public class LoopMethod
{
	public static void main(String[] args)
	{
		System.out.println("This is a hello from the main");
		
		// Here we uses a for loop to loop the method
		for(int i=0; i<4; i++)
		{
			display();
		}
		
		System.out.println("Now we are back to main");
	}
	public static void display()
	{
		System.out.println("This is a hello from the method");
	}
}
