Can an interface inherit from another interface?



Can an interface inherit from another interface?..

Answer / Parul Singh

No, in Java and other object-oriented programming languages that support interfaces, interfaces cannot inherit from each other directly. However, multiple interfaces can be implemented by a class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOAD Interview Questions

If a class inherits an interface, what are the 2 options available for that class?

1 Answers  


What is the use of interface?

1 Answers  


Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?

1 Answers  


What is an USECASE? Why it is needed?

8 Answers  


What are the problems faced by the developer using object oriented programming language?

1 Answers  


What is the difference between an interface and abstract class?

1 Answers  


Differentiate between overloading and overriding.

1 Answers  


What is the base type from which all structs inherit directly?

1 Answers  


What is the purpose of late binding in object-oriented programming?

1 Answers  


Define a good interface?

1 Answers  


How do we implement serialization actually?

1 Answers  


Explain about encapsulation?

1 Answers  


Categories