The call matches both methods, but the one with parameter Number is more specific than the one with parameter Object. The most specific method that matches will be chosen in this case.
When two methods match the call, Java chooses the most specific method. See section 15.12.2.5 of the Java Language Specification. In this case, the method that takes a Number is more specific than the method that takes an Object.