Class FooBar
- java.lang.Object
-
- g1101_1200.s1115_print_foobar_alternately.FooBar
-
public class FooBar extends Object
-
-
Constructor Summary
Constructors Constructor Description FooBar(int n)
-
-
-
Method Detail
-
foo
public void foo(Runnable printFoo) throws InterruptedException
- Throws:
InterruptedException
-
bar
public void bar(Runnable printBar) throws InterruptedException
- Throws:
InterruptedException
-
-