xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Code/Java/Func_abc.java (revision deb6f0161a9109e7de9b519dc8dfb9478668dcdd)
1 public 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