If the base and derived classes both have a method named calculate, the derived class's method will _______ the base class's method when called from a derived class object.

  • Call
  • Extend
  • Override
  • Replace
If the base and derived classes both have a method named "calculate," the derived class's method will "Override" the base class's method when called from a derived class object.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *