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