I'm very new and I'm just curious to know why this code outputs 201.0 when entering 2E2 as the value of the double.
public static void main(String[] args) {
double r = 2E2;
try{
}
catch(InputMismatchException e) {
r=-1.0;
}
finally{
r++;
}
System.out.println(r);
}
output: 201.0