I feel really bad asking questions on a forum (especially when having only this one post so far), but after spending hours with the Google and reading all the pages I can find on input boxes, strings, and what not; along with scouring my text book for anything (I'm convinced this textbook serves no purpose other than doorstop) I've feel I've ran my head into a wall and can't find any other way to do this.
Here's what I have written code wise:
And every time I run to compile it I get the following errors:
[Captain_Steve@google Week 5 Projects]$ javac HighScore.java
HighScore.java:27: cannot find symbol
symbol : method
String(java.lang.String)
location: class HighScore
String name = String(inputValue2);
^
HighScore.java:42: cannot find symbol
symbol : method String(java.lang.String)
location: class HighScore
String nameloop = String(inputValue4);
I'm assuming I'm having some kind of problem with using strings, naming strings, or understanding the entire concept of how strings are suppose to work. This is basically a line for line conversion from a scanner input method to a user input box method, so I'm fairly confident that it isn't something with how I have everything ordered and done up, since I can get the other one to compile and run the way it's suppose to.
And since It may be of use, the goal of this is to enter a bunch of names and numbers and have the highest number be displayed along with the name (like a bunch of
test scores or such). I'm not really sure what else may be of value.