Can someone help me i got a compilation error and ive tried multiple things to fix it but i just cant. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

Can someone help me i got a compilation error and ive tried multiple things to fix it but i just cant.

https://code.sololearn.com/cXWWzSFpUO6y/?ref=app

6th Nov 2017, 4:31 AM
jalen
jalen - avatar
2 Réponses
+ 2
1. It looks like you're closing your MyClass class before the main method. 2. Your switch in main is using character which doesn't seem to be defined anywhere. There may be other issues, but that was all I could see from the crowded code on my phone at this time. Might help if you copied it over into an IDE such as IntelliJ IDEA, to find any other issues.
6th Nov 2017, 5:15 AM
ChaoticDawg
ChaoticDawg - avatar
0
I changed some minor errors but there's still one other error that I can't figure out
7th Nov 2017, 8:50 AM
jalen
jalen - avatar