What is true from the following?
"X extends Y" is correct if and only if X is a class and Y is an interface
"X extends Y" is correct if and only if X and Y are either both classes or both interfaces
"X extends Y" is correct if and only if X is an interface and Y is a class
None of these