Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface Jumper {
- default void jump() {
- System.out.println("Jumper jump!");
- }
- }
- interface Tracer {
- default void jump() {
- System.out.println("Tracer jump!");
- }
- }
- class App implements Jumper, Tracer {
- public App() {
- }
- public static void main(String args[]) {
- App myApp = new App();
- myApp.jump();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement