aspose file tools*
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Symbol can Watch "Symbol can New topic
Author

Symbol can't be found

Sandy Men
Greenhorn

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:

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
Rancher

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


Joanne
Sandy Men
Greenhorn

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

Joined: Jan 10, 2002
Posts: 61658
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
wood burning stoves
 
subject: Symbol can't be found