nerdexam
Oracle

1Z0-819 · Question #104

1Z0-819 Question #104: Real Exam Question with Answer & Explanation

The correct answer is A. Interfaces cannot have protected methods but abstract classes can. C. Interfaces cannot have static methods but abstract classes can.. See the full explanation below for the reasoning.

Question

Which two statements correctly describe capabilities of interfaces and abstract classes? (Choose two.)

Options

  • AInterfaces cannot have protected methods but abstract classes can.
  • BBoth interfaces and abstract classes can have final methods.
  • CInterfaces cannot have static methods but abstract classes can.
  • DInterfaces can have methods with bodies but abstract classes cannot.
  • EInterfaces cannot have methods with bodies but abstract classes can.

Community Discussion

No community discussion yet for this question.

Full 1Z0-819 Practice