A ''X extendds Y'' is correct if and only if X is a class and Y is an interface.
B ''X'' extends Y'' is correct if and only if X is an interface and Y is a calss.
C ''X' extends Y'' is correct if X and Y are either both classes or both interfaces.
D ''X'' extends Y'' is correct for all combinations of X and Y being classes and/or interfaces.
Correct Answer: Option C
Download our app for free and access thousands of MCQ questions with detailed solutions