wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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!


Personality.java:35: 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: 3168
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: 60048

"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: http://aspose.com/file-tools
subject: Symbol can't be found
Similar Threads
help in fixing the error
Generate random strings
Netbeans and Ctrl + z (end of file)
Count the number of vowels, words, and sentences.