LINK TO CODE IMAGE
I keep getting this error on the code I've written. It's something to do with the brackets. I'm still new to coding so can someone help me out with this? Thanks.
This is the error:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Syntax error, insert "}" to complete ClassBody
[enter image description here]
Remove the semi colon you've placed next to your if condition where you check the year. If conditions cannot have semi colons.