Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- interface I1 {
- void m1();
- }
- interface I2 {
- void m1();
- }
- public class ConflictingMultipleInterface implements I1, I2 {
- @Override
- public void m1() {
- System.out.println("Works just fine, thank you!");
- }
- public static void main(String[] args) {
- new ConflictingMultipleInterface().m1();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement