.NET C# Java Javascript Exception

How to convert numeric String to int in Java? And also what is the difference between String, StringBuilder, and StringBuffer in Java? (answer)
The main difference is that String is immutable but both StringBuilder and StringBuffer are mutable. Also, StringBuilder is not synchronized like StringBuffer and that's why faster and should be used for temporary String manipulation.