aspose file tools
The moose likes Beginning Java and the fly likes error: cannot find symbol, help! Big Moose Saloon
  Search | Java FAQ | Recent Topics
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!!!
I Wayan Saryada
Ranch Hand

Joined: Feb 05, 2004
Posts: 83

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: 4167
    
    3

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: error: cannot find symbol, help!
 
Similar Threads
class or interface expected?
cant find symbol problems
Strange Vector3(double, double, double) symbol not found?
Population and Growth Rate Problem
code is complete! but whats wrong here??