Start a Thread

Subscribe You’re not receiving notifications from this thread.

Error: Class, interface or enum expected

General • Asked 4 months ago by sanya mehta

sanya mehta Commented on Mar 05, 2021:

Hi, I'm trying to use the IDE in Java, but no matter what code I run, I get multiple errors saying "class, interface, or enum expected" despite the fact that the curly braces check out and that the primary function is within the Main method. Any tips would be appreciated!