|
1 package test;
2
|
3 public class Test
|
4 {
5
6 public void foo()
7 {
|
8 System.err.println("foo");
9 }
|
10
11 public void bar()
12 {
|
13 System.err.println("bar");
14 }
|
15
16 public static void ook()
17 {
|
18 throw new IllegalStateException();
|
19 }
20
21 public static void main(String argv[])
22 {
|
23 Test test=new Test();
|
24
|
25 for(int I=0;I<5;I++) test.foo();
26 test.bar();
27 int argle=0;
28 for(int I=0;I<10;I++)
|
29 {
|
30 argle+=Math.sqrt(I);
|
31 }
|
32 System.err.println(argle);
|
33 try
34 {
|
35 ook();
|
36 > }
|
37 catch(Exception e)
38 {
|
39 e.printStackTrace();
|
40 }
|
41 }
|
42 }
|