Answer is D.
As the abstract class is extended. It doesn’t have to implement all of the interfaces abstract methods. Once its subclass implements the methods that it does not the code will compile fine.
(Also the question doesn’t ask for two answers so, if D works alone and it does, it is correct.)
C,D
Test C,D
Only D
Answer is D.
As the abstract class is extended. It doesn’t have to implement all of the interfaces abstract methods. Once its subclass implements the methods that it does not the code will compile fine.
(Also the question doesn’t ask for two answers so, if D works alone and it does, it is correct.)