Can you extend more than one interface?

Answer Posted / vijayakumar chinnasamy

There is no limit for interface extends. One interface can
extends any number of interfaces.

interface inter1 { }

interface inter2 { }

interface interN { }

interface ExtendsInterface extends inter1,inter2,... , interN {

}

Is This Answer Correct ?    31 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between dom and sax parser in java?

743


What is bitwise complement?

718


What is the default execution method in java?

865


Can you tell me range of byte?

745


Can we execute java program without main method?

722


What are encapsulation, inheritance and polymorphism?

722


Why java is called not pure object oriented language?

812


When is the finally clause of a try-catch-finally statement executed?

721


What are the major drawbacks of external iteration?

800


What is increment in java?

722


why Java does not support multiple inheritances?

909


What is a class component?

852


Can an interface be defined inside a class?

748


What is nan inf?

687


Why for each loop is used?

742