I have an assignment where I have to name the file the same name as the class. I can't use 'Main.java' . How can this be done in repl.it?
Let's say the class is named
Cat or something.
To create your file
Cat.java, you would need to go to the side bar on the left and click the add file icon. Then name it
Cat.java. Not sure how to run the code in there tho.