i posted all the code for my lab and the exception. I appreciate the help!
Type: Posts; User: mjrox96
i posted all the code for my lab and the exception. I appreciate the help!
Here is the exception:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at Model.OptionSet.findOption(OptionSet.java:43)
at Model.OptionSet.getOption(OptionSet.java:33)
at...
Could you just use the next() function instead of nextLine()?
Hello everyone.
For my lab, I need to read some values from a text file.
So here are the data values:
Focus Wagon ZTW
18445.0
5
Color