Java OCA OCP Practice Question 1283

Question

Fill in the blanks:

A class ___ an interface, while a class ___ an abstract class.

  • A. extends, implements
  • B. extends, extends
  • C. implements, extends
  • D. implements, implements


C.

Note

A class can implement an interface, not extend it.

A class extends an abstract class.

Option C is the correct answer.




PreviousNext

Related