Integer.valueOf() vs. Integer.parseInt() [duplicate]

Aside from Integer.parseInt() handling the minus sign (as documented), are there any other differences between Integer.valueOf() and Integer.parseInt()?

And since neither can parse , as a decimal thousands separator (produces NumberFormatException), is there an already available Java method to do that?

5 Answers
5

Leave a Comment