]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - cddl/contrib/dtracetoolkit/Code/Java/Func_abc.java
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / cddl / contrib / dtracetoolkit / Code / Java / Func_abc.java
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 }