It is a compilation error it should be X extends Y implements Z
A is wrong because a class can extend nly one class .B is wrong because a class can implement any number of interfaces.C is wronb because both can can be done simulteneously.So, D is correct
Copyright ©CuriousTab. All rights reserved.