1class Test{
2
3    interface Foo{
4        double foobar();
5    }
6
7    interface Bar extends Foo {
8
9    }
10
11    void test(){
12        Bar b = null;
13        b.foobar();
14    }
15
16}