I can't see the missing semicolon or the extra bracket | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I can't see the missing semicolon or the extra bracket

I keep getting the same error and I cannot see what is wrong https://code.sololearn.com/c19EDkiypPbN/?ref=app

15th Feb 2022, 8:26 AM
Alex Garcia
Alex Garcia - avatar
4 Answers
+ 4
There's an extra '}' at line 34. There are other errors besides that one, but you'll figure it out once you solve this
15th Feb 2022, 8:29 AM
Rishi
Rishi - avatar
15th Feb 2022, 8:55 AM
Rishi
Rishi - avatar
+ 2
Thanks! I am going to get my eyesight checked
15th Feb 2022, 8:30 AM
Alex Garcia
Alex Garcia - avatar
+ 1
The damn empty constructor. You were right: after fixing the semicolon it was easy
15th Feb 2022, 8:41 AM
Alex Garcia
Alex Garcia - avatar