+ 1

Could any say what's the difference between nested interfaces and extending interface in java??

24th Sep 2020, 9:19 AM
Pàví(◠‿・)—☆
2 odpowiedzi
+ 1
Nested interface: Specifications of interface within another interface. Ex: interface A{ .. public interface B{ .. } .. } https://www.javatpoint.com/nested-interface Extending interface : An interface can extends another interface so sub interface have all abstract methods of both interfaces... Ex: interface A { .. } interface B extends A { ... } https://www.scientecheasy.com/2019/05/interface-in-java.html/
24th Sep 2020, 9:54 AM
Jayakrishna 🇮🇳
0
24th Sep 2020, 10:00 AM
Pàví(◠‿・)—☆