Guest User

Source

a guest
Jan 8th, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.76 KB | None | 0 0
  1. public interface FirstInterface {
  2.     void FirstMethod();
  3.     void SecondMethod();
  4. }
  5.  
  6. public interface SecondInterface {
  7.     Integer ThirdMethod();
  8.     String ForthMethod();
  9. }
  10.  
  11. import java.awt.image.BufferedImage;
  12. import java.util.List;
  13.  
  14. class Main implements FirstInterface, SecondInterface {
  15.  
  16.     private static final Integer THREE = 3;
  17.  
  18.     private final String NAME = "Jasper Catthoor";
  19.     private Object obj = new Object();
  20.     private List<BufferedImage> bufferedImage;
  21.  
  22.     public Main() {
  23.  
  24.     }
  25.  
  26.     @Override
  27.     public void FirstMethod() { }
  28.  
  29.     @Override
  30.     public void SecondMethod() { }
  31.  
  32.     @Override
  33.     public Integer ThirdMethod() { return THREE; }
  34.  
  35.     @Override
  36.     public String ForthMethod() { return NAME; }
  37.  
  38.     public static void main(String[] args) {
  39.         new Main();
  40.     }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment