Func_abc.java revision 235368
1public class Func_abc {
2    public static void func_c() {
3        System.out.println("Function C");
4        try {
5            Thread.currentThread().sleep(1000);
6        } catch (Exception e) { }
7    }
8    public static void func_b() {
9        System.out.println("Function B");
10        try {
11            Thread.currentThread().sleep(1000);
12        } catch (Exception e) { }
13        func_c();
14    }
15    public static void func_a() {
16        System.out.println("Function A");
17        try {
18            Thread.currentThread().sleep(1000);
19        } catch (Exception e) { }
20        func_b();
21    }
22
23    public static void main(String[] args) {
24        func_a();
25    }
26}
27