Java: Can overloaded methods be overridden too?

inicial › Forums › Java › Java: Can overloaded methods be overridden too?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2292624
    matheusdba
    Keymaster

    Can overloaded methods be overridden too?

    #2292625
    matheusdba
    Keymaster

    Yes, derived classes still can override the overloaded methods. Polymorphism can still happen. Compiler will not binding the method calls since it is overloaded, because it might be overridden now or in the future.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.