waltermilner

Untitled

Dec 5th, 2016
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. public class Test implements Sub {
  2.  
  3.   public static void main(String[] args) {
  4.   }
  5.  
  6.   public void method2() {
  7.   }
  8.  
  9.   public void method1() {
  10.   }
  11.  
  12. }
  13.  
  14. interface Base {
  15.  
  16.   void method1();
  17. }
  18.  
  19. interface Sub extends Base {
  20.  
  21.   void method2();
  22. }
Advertisement
Add Comment
Please, Sign In to add comment