Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Search Forums > Search Results

Showing results 1 to 1 of 1
Search took 0.02 seconds.
Search: Posts Made By: Piddlyjinks
Forum: Java 04-25-2012
Replies: 1
Views: 458
Posted By Piddlyjinks
Help please, new to Java

Assume this is part of a method in a well-formed class. What's wrong with this snippet?

String age = JOptionPane.showMessageDialog("What is your age?");
int age = Integer.parseInt(age);
...
Showing results 1 to 1 of 1

 
Forum Jump


Advertisments