how to type cast string to int in java code example
Example 1: string to int java
int result = Integer.parseInt(number);
Example 2: string to int
int i=Integer.parseInt("200");
int result = Integer.parseInt(number);
int i=Integer.parseInt("200");