Skip to content
Text Adventure
Profile icon
TheMaster7661

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?

You are viewing a single comment. View All
Profile icon
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 {
Profile icon
TheMaster7661

@Coder100
Well, It's just something I did. Are you saying that making it uppercase would be better?

Profile icon
Coder100
Profile icon
Coder100

it's convention, and it will help with distinguishing between classes and variables

@NoahJospeh