Multiple choice technology programming languages Which is true? (Choose all that apply. ) 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 is an interface and Y is a class. X extends Y is correct if X and Y are either both classes or both interfaces. X extends Y is correct for all combinations of X and Y being classes and/or interfaces. Reveal answer Fill a bubble to check yourself C Correct answer Explanation In Java, the extends keyword is used for inheritance between the same kinds of types: a class can extend another class, and an interface can extend another interface. A class implements an interface using the implements keyword.