an interface can implement another interface? true or false
Answers
Answered by
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
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
English,
6 months ago
Biology,
6 months ago
India Languages,
6 months ago
English,
1 year ago
Biology,
1 year ago
Social Sciences,
1 year ago