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

If we don’t want some of the fields not to serialize how to do that?

556


Why collection doesn’t extend cloneable and serializable interfaces?

634


Which oo concept is achieved by using overloading and overriding?

529


Why do we need hashmap in java?

550


Which collection allows duplicate values in java?

541






How does system arraycopy work in java?

573


How the interruptible method gets implemented?

549


Is oracle charging for java?

539


Is array synchronized in java?

548


What is data member in java?

495


What do you mean by singleton class in java?

508


Why java is used everywhere?

584


What Is Composition?

574


Explain what is Marker interface?

607


What is java used for?

547