Question from the Object Oriented Programming test

Can an interface inherit from another interface?

Medium

Can an interface inherit from another interface? Can an interface inherit from another class?

Author: Eric HostaleryStatus: PublishedQuestion passed 1226 times
Edit
2
Community Evaluations
developer avatar
Vincent
16/10/2021
La réponse : oui uniquement d'une autre interface n'est pas comptée bonne. Pourtant une interface peut bien descendre d'une autre interface. Et une interface ne peut pas descendre d'une classe (c'est l'inverse)
developer avatar
Vincent Cotro
18/10/2021
Effectivement, c'est une erreur dans notre question ! Nous allons corriger ça. Merci beaucoup, je valide la contribution.