// Correct. An interface extends another interface,
// it cannot implement it.
// A class extends another class or implements an interface.
// An interface cannot extend or implement a class.
interface X extends Y
   {
   // ...
   }