# When is method overloading "chosen"?

**URL:** https://forum.kirupa.com/t/when-is-method-overloading-chosen/331604
**Category:** programming
**Created:** [September 8, 2013, 4:04pm UTC](https://forum.kirupa.com/t/when-is-method-overloading-chosen/331604 "2013-09-08T16:04:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![IQAndreas](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@IQAndreas](https://forum.kirupa.com/u/IQAndreas)
#### Post date: [September 8, 2013, 4:04pm UTC](https://forum.kirupa.com/t/when-is-method-overloading-chosen/331604/1 "2013-09-08T16:04:49Z")

</div>

In languages that contain method overloading (such as Java), when does it decide “which” function to use? At compile-time, at that little funny “compile before running” step that AS3 and Java do, or at runtime?
