@@ -0,0 +1,2019 @@
+import java.lang.*;%0Apublic class FunctionDelays %7B%0A    FunctionDelays() %7B%0A        // do nothing%0A    %7D%0A    void functiondelay() %7B%0A%0A        System.out.println(%22function1 exited. %5Cn%22);%0A    %7D%0A%0A    void functiondelay2() %7B%0A        // adding time delays%0A        for(int i=0; i%3C10; i++) %7B%0A            System.out.println(%22Loading...%5Cn%22);%0A            try %7B%0A                Thread.sleep(600);%0A            %7D catch (InterruptedException ie) %7B%0A                System.out.println(ie.getMessage());%0A            %7D%0A        %7D%0A        System.out.println(%22function2 exited in 10 seconds. %5Cn%22);%0A    %7D%0A%0A    void functiondelay3() %7B%0A        // adding time delays%0A        for(int i=0; i%3C10; i++) %7B%0A            System.out.println(%22Loading...%5Cn%22);%0A            try %7B%0A                Thread.sleep(600);%0A            %7D catch (InterruptedException ie) %7B%0A                System.out.println(ie.getMessage());%0A            %7D%0A        %7D%0A        System.out.println(%22function3 exited in 10 seconds. %5Cn%22);%0A    %7D%0A%0A    void functiondelay4() %7B%0A        // adding time delays%0A        for(int i=0; i%3C10; i++) %7B%0A            System.out.println(%22Loading...%5Cn%22);%0A            try %7B%0A                Thread.sleep(600);%0A            %7D catch (InterruptedException ie) %7B%0A                System.out.println(ie.getMessage());%0A            %7D%0A        %7D%0A        System.out.println(%22function4 exited in 10 seconds. %5Cn%22);%0A    %7D%0A%0A    void functiondelay5() %7B%0A        // adding time delays%0A        for(int i=0; i%3C10; i++) %7B%0A            System.out.println(%22Loading...%5Cn%22);%0A            try %7B%0A                Thread.sleep(600);%0A            %7D catch (InterruptedException ie) %7B%0A                System.out.println(ie.getMessage());%0A            %7D%0A        %7D%0A%0A        System.out.println(%22function5 exited in 10 seconds. %5Cn%22);%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        FunctionDelays f = new FunctionDelays();%0A        f.functiondelay();%0A        f.functiondelay2();%0A        f.functiondelay3();%0A        f.functiondelay4();%0A        f.functiondelay5();%0A    %7D%0A%7D%0A%0A// Submitted by Aswini.S

add code