Posts by Rudilei Mendes • 223 points
1 post
-
22
votes1
answer1099
viewsQ: What is the difference between Integer.valueOf() when using String or int parameters?
Why in the lines below the results of System.out are different? Integer teste = Integer.valueOf("0422"); Resultado: 422 Integer teste = Integer.valueOf(0422); Resultado: 274 If step one int it…