+ 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 Answers
+ 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 🇼🇳
24th Sep 2020, 10:00 AM
PĂ vĂ­(â— â€żăƒ»)—☆