This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Symbol can't be found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Symbol can Watch "Symbol can New topic

Symbol can't be found

Sandy Men

Joined: Feb 29, 2012
Posts: 2
Hey guys!
So I just started getting into the programming thing, and I really need help trying to figure out why it's popping up with this error. Really been bugging me. Also I have to figure out how to print this program but been having no luck with that either. So hints and helpful tips or anything to steer me on the right path is appreciated!

Error: error: cannot find symbol
char c = input.charAt(s);
symbol: method charAt(int)
location: variable input of type Scanner
1 error
Joanne Neal

Joined: Aug 05, 2005
Posts: 3742
The Scanner class doesn't have a charAt method

Sandy Men

Joined: Feb 29, 2012
Posts: 2
Wow, I can't believe I missed that. Thanks!
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62139

"Sandy Men", please check your private messages for an important administrative matter. Thanks.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Symbol can't be found