Computer Science, asked by subh2015ss, 1 year ago

an interface can implement another interface? true or false​

Answers

Answered by sakthikeerthimvm
1

An interface can extend any number of interfaces but one interface cannot implement another interface, because if any interface is implemented then its methods must be defined and interface never has the definition of any method

Answered by Mehertaj
1

Answer:

An interface can extend any number of interfaces but one interface cannot implement another interface, because if any interface is implemented then its methods must be defined and interface never has the definition of any method

Explanation:

Implements denotes defining an implementation for the methods of an interface. However interfaces have no implementation so that's not possible. An interface can however extend another interface, which means it can add more methods and inherit its type

Similar questions