How to I fix this error?
Exception in thread “main”java.lang.NumberFormatException: For input string: ” “
atjava.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
atjava.lang.Integer.parseInt(Integer.java:569)
atjava.lang.Integer.parseInt(Integer.java:615)
atrefrigerator.Refrigerator.main(Refrigerator.java:229)
/Users/home/Library/Caches/NetBeans/8.2/executor-snippets/run.xml:53:Java returned: 1

if (line.charAt (0)-I 226 227 228 229 230 231 232 int item Integer.parseInt (line.charAt (2)+; int numRef Integer.parseInt ( ї ine.charAt (4)+””); listRefs [numRefl.insert_item(item): output-“Attempt to add “+item+” into refrigerator #”4numRef; Show transcribed image text
Expert Answer
An answer will be send to you shortly. . . . .