Help with workspace

Hello, I tried making a new file to code. But the code won’t run, it won’t even give errors. The text doesn’t turn coloured when you type words like public, can someone help.

The workspace won’t recognize a .methods file a a java file.
If the class is Math, then the file would have to be Math.java
(although I don’t recommend having a Math.java if you want to use stuff from the built-in Math class)

1 Like

I changed it, it still is all white and won’t run code.

if the class is Learning,
then the filename should be Learning.java

1 Like

Thank you so much, it worked.

1 Like