bugs.java.com
Bug ID: JDK-4106143 About polymorphism: changing the return type of...
If a method calling AClass.giveMeANumber() was expecting a Number object, I see no objection to giving it an Integer object.ADVANTAGE IN THE java.text.Format.parseObject(String) METHOD: The java.text.NumberFormat.parse(String) method is implemented as below