import java.util.Scanner;

public class RestaurantTester
{
    public static void main(String[] args) 
    {
        //Restaurant initialization stuff, makes Menu - an ArrayList of MenuItem
        Restaurant r1 = new Restaurant();
     
        //Stuff for our switch
        Scanner sc = new Scanner(System.in);
        int x;
        boolean flag = true;
        
        do
        {
            System.out.println("\n\n\tWelcome to the Java Restaurant!");
            System.out.print("\n1.Display Menu \n2.Display Server List "
                + "\n3.Restaurant Activity \n4.Quit \n\nEnter Choice:");
       
            x = sc.nextInt();

            switch(x)
            {
                case 1:
                    r1.displayMenu();
                    break;
                case 2:
                    r1.displayServerList();
                    break;
                case 3:
                    break;
                case 4: 
                    flag = false;
                    break;
                default:
                    System.out.print("Invalid entry");
            }
        }
        while(flag);
        
        System.out.println("\nThank you!");       
    }
}

@@ -47,14 +47,58 @@
 rant
-Tester
+Project //you might need to change this class name
 %0A%7B%0A 
@@ -683,16 +683,46 @@
 Int();%0A%0A
+            try%0A            %7B%0A
         
@@ -981,178 +981,1096 @@
     
-break;%0A                case 4: %0A                    flag = false;%0A                    break;%0A                default:%0A                    System.out.print(%22Invalid entry%22
+do%0A                    %7B%0A                        System.out.print(%22%5Cn%5Cn1.Restaurant activity%5Cn2.Quit%22%0A                                + %22%5Cn%5CnEnter Choice :%22);%0A                        x = sc.nextInt();%0A                        %0A                        switch(x)%0A                        %7B%0A                            case 1:%0A                                sc.nextLine();%0A                                r1.restaurantActivity();%0A                                break;%0A                            case 2:%0A                                break;%0A                            default:%0A                                System.out.print(%22Invalid Entry%22);%0A                        %7D%0A                    %7D%0A                    while(x != 2);%0A                    break;%0A                case 4: %0A                    flag = false;%0A                    break;%0A                default:%0A                    System.out.print(%22Invalid entry%22);%0A            %7D%0A            %7D%0A            catch(Exception ex) //This doesn't work yet%0A            %7B%0A                System.out.println(%22Caught message %22 + ex.getMessage()
 );%0A 

Update RestaurantTester.java