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 will happen when using pass by reference in java?

506


Why java is called not pure object oriented language?

564


what is meant by abstract class?

637


Can we override private method?

543


What is string subsequence method?

612






What is quick sort in java?

541


Is a boolean 1 bit?

602


How to access arraylist elements in java?

482


What is the properties class in java programming?

530


why using interface interface ?

1494


What are new features introduced with java 8 ?

540


What is core java used for?

498


What defines function?

527


How do you clear a list in java?

590


What happens when you add a double value to a string?

527