Default Method
interface A { void show(); } interface A { void show(); } Is it ‘A’ is the valid interface ? Yes since it has only abstract method. interface B { void show(){ System.out.println(“show”); } } interface B { void show(){ System.out.println(“show”); } } Is it ‘B’ is the valid interface ? No because interface should […]