0 votes
in JAVA by
How to convert string to int in java?

1 Answer

0 votes
by
How to convert string to int in java?

"class Scratch{

    public static void main(String[] args){

        String str = ""50"";

        System.out.println( Integer.parseInt( str ));   // Integer.parseInt()

    }

}"

Related questions

0 votes
asked Oct 22, 2020 in JAVA by sharadyadav1986
0 votes
asked Oct 18, 2020 in JAVA by sharadyadav1986
...