Can you make a String an int?

We can convert String to an int in java using Integer. parseInt() method . To convert String into Integer, we can use Integer. valueOf() method which returns instance of Integer class.

Sizin İçin Seçtik  How do you check the two Character is equal or not?

Leave a Reply

Your email address will not be published. Required fields are marked *