0

In Java objects are created at run time, so over rided methods can only bind at run time. But by going though a program, I think compiler can often easily find which method should bind to what method call. Why this method binding postponed to run time even in simple cases?

DEADLOCK
  • 19
  • 3

1 Answers1

1

Not sure where you read that overloaded methods are bound at run time. The method signatures are chosen at compile time.

Khanna111
  • 3,627
  • 1
  • 23
  • 25