Java Classes Question:

How to call two interfaces in one interface?

Tweet Share WhatsApp

Answer:

You can not call 2 interface in interface but you can extend interfaces in your interface.Example :
Interface I1{..}Interface I2 extends I1{..}Interface I3 extends I2{}

Download Java Classes PDF Read All 76 Java Classes Questions
Previous QuestionNext Question
Explain when we are overloading or overriding the methods how we want to take care about the acess specifiers?Explain what does enumeration means when talking about the 9th Amendment