Else Error (Total newcomer)

Hi,

I just started taking a intro to java programming course for my major programming requirement and I’m having trouble using “else” when I’m trying to make if statements.
Every time I type in “else” it gives me the error “Syntax error on token, “else,” Delete this token”
I’ve been watching videos and I’m really trying to get a leg up on the class and really get an understanding of java and eclipse because I’ve always liked the idea of being able to program using java.
Any help would be greatly appreciated!

Please help.

I didn’t find the right solution from the Internet.

References:-
https://www.eclipse.org/forums/index.php/t/449127/
Business animation company

Thanks

Add Comment
  • 0 Answer(s)

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.