scjavastudent
0
Newbie Poster
Recommended Answers
Jump to PostYou can't declare methods within other methods, so those that you have crammed into the switch statement have to be moved out.
Jump to PostWalk through and match your braces. Maintaining good, consistent indentation helps a lot to see things like this.
Also be sure to read the errors carefully because they contain line numbers where the problems occur. "Illegal start of expression" is going to indicate an improperly terminated block or expression …
All 8 Replies
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
scjavastudent
0
Newbie Poster
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
scjavastudent
0
Newbie Poster
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
scjavastudent
0
Newbie Poster
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
Ying_Yang
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.