I'm trying to write a program for the Blackjack game but I keep getting an error message saying "; expected" but I don't understand why a semicolon would be needed. The line of code that it occurred was: "boolean playBlackjack()"
dabronx1671 0 Newbie Poster
Recommended Answers
Jump to PostAnd that is a method you are trying to declare or is it a variable you are declaring? Either way it looks to be an invalid statement. Is that the entire line of code?
All 3 Replies
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
dabronx1671 0 Newbie Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured 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.