wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes error: cannot find symbol, help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

error: cannot find symbol, help!

Glen Richard
Greenhorn

Joined: Mar 08, 2013
Posts: 6


I am running into the error of:

error: cannot find symbol

This is on each variable I have : mexicoPop, MexicoPopFin, usPop, Years


What have I done wrong? Such a beginner mistake I'm sure...

Also any critique on if this program is even gonna work will be great!!!
Wayan Saryada
Ranch Hand

Joined: Feb 05, 2004
Posts: 104

Hi,

The error means that the variable can not be found in your code. You don't have these variables defined in your code: mexicoPopFin, usPop, mexicoPop and the Years variable is only available inside the if statement where it was declared.


Website: Learn Java by Examples
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

I'm closing this thread as a duplicate of http://www.coderanch.com/t/606851/java/java/error-find-symbol


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error: cannot find symbol, help!
 
Similar Threads
cant find symbol problems
code is complete! but whats wrong here??
class or interface expected?
Strange Vector3(double, double, double) symbol not found?
Population and Growth Rate Problem