Java OCA OCP Practice Question 854

Question

Which of the following are true about method overriding?

  • A. The overriding and overridden methods must have the same name, argument list, and return type.
  • B. The overriding method must not limit access more than the overridden method.
  • C. The overriding method must not throw any exceptions that may not be thrown by the overridden method.
  • D. The overriding method may not be private.


A.
B.
C.
D.

Note

All are true.




PreviousNext

Related