How to convert string to int in Java?

How to convert string to int in Java?