0

Whats an anum

Every time i do a code the system says anum expected but i dont know what that means https://code.sololearn.com/cD7JS2S37V2U/?ref=app

15th Jul 2022, 9:00 PM
Syed Ali Mumtaz
Syed Ali Mumtaz - avatar
6 ответов
+ 3
Where is the code? Maybe the Community can spot the problem if you show what you are trying to do.
15th Jul 2022, 11:12 PM
Brian
Brian - avatar
+ 3
Hi! Not much to go on, but is it Java? Is it enum or anum? Have you balanced curly brackets?
15th Jul 2022, 11:25 PM
Per Bratthammar
Per Bratthammar - avatar
+ 2
Pls edit your question description with a link to your code in Code Playground - use "+" button. This way, we can see the error and its cause. Pls don't paste the code - it adds unecessary steps for us to test it, and also brings possible copy errors Pls don't link the code in answers - they get lost among others quickly.
16th Jul 2022, 5:44 AM
Emerson Prado
Emerson Prado - avatar
+ 1
Its enum
16th Jul 2022, 6:33 PM
Syed Ali Mumtaz
Syed Ali Mumtaz - avatar
0
I ran it now. Read the entire error message - the part you included in the question doesn't tell the history. Then, check again the Java lessons on the code structure - main class and function, specially.
16th Jul 2022, 8:07 PM
Emerson Prado
Emerson Prado - avatar
0
Besides, note how important it is to really provide info in a question. Consider my first comment again, plus the idea of correcting the question title and description to match your real issue.
16th Jul 2022, 8:10 PM
Emerson Prado
Emerson Prado - avatar