Question: what does this error message mean ? Project01.java X Taib integer.cl 1 import javax.swing.JOptionPane; // for input and output dialogue 3 public class Project 1

what does this error message mean ?

Project01.java X Taib integer.cl 1 import javax.swing.JOptionPane; // for input and output

Project01.java X Taib integer.cl 1 import javax.swing.JOptionPane; // for input and output dialogue 3 public class Project 1 4 { 5 6e 7 7890123 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 www. 31 32 33 34 35 36 37 20 public static void main(String[] args) { // define variables String firstName; String lastName; int p1, p2, p3, p4, p5, p6, p7, p8; int hwl, hw2, hw3; int test1, test2, test3, test4; int attendance; double percent Projects, percent Tests, percentAttendance, percentClass; // get input from user firstName= JOption Pane.showInput Dialog(null, "Enter First Name)", "First Name", lastName= JOptionPane.showInputDialog (null, "Enter Last Name)", "Last Name", JOptionPane. QUESTION_MESSAGE); String input = null; p1= Integer.parseInt(input); input JOptionPane.showInput Dialog(null, "Enter a Positive Integer Number

Step by Step Solution

3.41 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The error message indicates a NumberFormatException which occurs when you t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!