KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > FooBar


1 package test;
2 public class FooBar {
3     boolean cont = false;
4
5     public FooBar (boolean cont) {
6         System.out.println ("FooBar()");
7         this.cont = cont;
8     }
9
10     public void foobar () {
11         System.out.println ("FooBar.foobar()");
12
13         if (cont) {
14             test.Baz b = new test.Baz ();
15             b.baz ();
16         }
17     }
18
19
20     public String JavaDoc dummy() {
21         return null;
22     }
23 }
24
25
Popular Tags