Text Adventure
Hi, I have a text adventure code that I made, but it gives me an error and I don't know why. Can you please help me out?
Voters
Coder100
May I ask why your class is lowercased???
That is not ok, make sure it is:
Driver.java
import java.util.*; public class Driver {
TheMaster7661
@Coder100 Well, It's just something I did. Are you saying that making it uppercase would be better?
Coder100
yeah @NoahJospeh
Coder100
it's convention, and it will help with distinguishing between classes and variables @NoahJospeh
oh ok found it, why do you have two
import java.util.*
? >:(ohhh because you pasted in the code...
well next time make sure your code is good.
working repl
I also removed a lot of useless arguments and some naming things as well :)