I'm doing one of the Java modules, but every time I try to complete the code, I get Line 0, class. exepted | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm doing one of the Java modules, but every time I try to complete the code, I get Line 0, class. exepted

If anyone knows what I'm wrong about, could you please tell me? I don't want the answer to that challenge, I just want to know what Line 0 https://code.sololearn.com/cY5b4b3UltMD/?ref=app

13th Dec 2020, 8:49 PM
Alejanx
Alejanx - avatar
4 Answers
+ 3
Alejanx , there are many syntax errors in your code. Redeclared variables, missing semicolons, System class starts with uppercase letter. Look at the corrected code. https://code.sololearn.com/cg0Od96TkPP9/?ref=app
13th Dec 2020, 9:33 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 3
Alejanx as your question is unclear and there is no code from you there is no way to answer this clearly. "Your thread will be reviewed by the mod-team and most likely marked for deletion." Thanks and happy coding. https://www.sololearn.com/discuss/1316935/?ref=app
13th Dec 2020, 9:08 PM
BroFar
BroFar - avatar
+ 2
Alejanx as I redid your code: That was the same thing I discovered TheWh¡teCat 🇧🇬 https://code.sololearn.com/cQrlYXoqDguB/?ref=app
13th Dec 2020, 10:00 PM
BroFar
BroFar - avatar
+ 1
Alejanx , without attaching your code it's hard to guess the problem.
13th Dec 2020, 8:57 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar