Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface FirstInterface {
- void FirstMethod();
- void SecondMethod();
- }
- public interface SecondInterface {
- Integer ThirdMethod();
- String ForthMethod();
- }
- import java.awt.image.BufferedImage;
- import java.util.List;
- class Main implements FirstInterface, SecondInterface {
- private static final Integer THREE = 3;
- private final String NAME = "Jasper Catthoor";
- private Object obj = new Object();
- private List<BufferedImage> bufferedImage;
- public Main() {
- }
- @Override
- public void FirstMethod() { }
- @Override
- public void SecondMethod() { }
- @Override
- public Integer ThirdMethod() { return THREE; }
- @Override
- public String ForthMethod() { return NAME; }
- public static void main(String[] args) {
- new Main();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment