Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Test implements Sub {
- public static void main(String[] args) {
- }
- public void method2() {
- }
- public void method1() {
- }
- }
- interface Base {
- void method1();
- }
- interface Sub extends Base {
- void method2();
- }
Advertisement
Add Comment
Please, Sign In to add comment