Cultivate good coding habits
1.
Use Integer.parseInt instead of Integer.valueOf
Static method, less objects
2.
Use String.valueOf instead of Integer.toString
or check null by ourselves
3.
Use StringBuffer instead of s=s+””
Static method, less objects