This video explains how type promotions takes place implicitly, when exact match for parameter is not found.