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

Is a copy constructor?

582


What do you understand by Header linked List?

609


When should I use singleton?

535


What is variable explain?

536


What is string example?

614






What is the difference between call by reference and call by pointer?

515


Why multiple inheritance is not supported by java?

522


Why parameters should be passed by reference?

510


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2388


What does the “static” keyword mean? Can you override private or static method in java?

644


What are the procedures?

622


What is the exact difference in between Unicast and Multicast object? Where will it be used?

593


What Is Composition?

595


Explain about method local inner classes or local inner classes in java?

579


What do you mean by light weight and heavy weight components?

568