Thank you chris :)
can you tell me why was it used in a program to read a number .. does JOptioPane always reads strings?
like this :
int x = Integer...
Type: Posts; User: Ashar
Thank you chris :)
can you tell me why was it used in a program to read a number .. does JOptioPane always reads strings?
like this :
int x = Integer...
when i tried this code
String yourString = "Ashar";
int yourInt = Integer.parseInt(yourString);
System.out.println(yourInt);
it compiled showing no errors ... however when I run the...