// Implement class C below so that the code compiles. None of the methods may return null. // You may define supplementary classes (inner-classes or "regular" classes) if you wish. // Note that C is a subclass of Object, and it implements only X and Y -- you cannot change this. abstract class A { abstract void q (); } interface Y { int p (int j); A me (); } interface X { void m (Object o); X n (); } class C implements X, Y { // Write your code here -- make all methods public (otherwise, // the compiler will not consider the interfaces to be "implemented")! }