| 1 |
|
| 2 |
public class B extends A { |
| 3 |
|
| 4 |
// public void test1() { |
| 5 |
// foo(); // should be inherited from A, so there should exist an (implicit) method org.testapp.B.foo() |
| 6 |
// } |
| 7 |
|
| 8 |
public void test2() { |
| 9 |
bar(); // should not be resolvable, since bar() is private in A and not inherited by B |
| 10 |
} |
| 11 |
} |