Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,255
Total Threads: 81,172
Total Posts: 566,867
There are 57 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Javascript :

Java error cannot find symbol?

Thread title: Java error cannot find symbol?
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
09-08-2011, 08:14 AM
#1
jhonrtin is offline jhonrtin
Status: I'm new around here
Join date: Sep 2011
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

jhonrtin is on a distinguished road

  Old  Java error cannot find symbol?

/**
* Print to the screen.
*
* @author Beginner.
*/
public class Mag {


public static void main(String[] args) {

double circumference = 2 * Math.PI * radius;

System.out.println ("slant height (s): " + circumference);


}
}


I get:
Beginner.java:13: error: cannot find symbol
double circumference = 2 * Math.PI * radius;
......................................… ^

symbol: variable radius
location: class Beginner


Please help!
Thanks
_______________________
the course of miracles

Reply With Quote
     


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed