This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
class or interface expected?
Population and Growth Rate Problem
Strange Vector3(double, double, double) symbol not found?
code is complete! but whats wrong here??
cant find symbol problems