• Welcome to NamesLot.com Domain Name Forum

    NamesLot.com Domain Name Forum offers a fully open forum to discuss domain industry news and a 0% commission marketplace for you to buy and sell domain names.

    We have reorganized our Marketplace so now it is easier to get attention to your domain while it is also easier for buyers to find the right domain name.

    If you want us to add more threads to our marketplace, please contact us! Listing on our marketplace as always, 100% free! Register NOW or Login HERE!

Java error cannot find symbol?

Status
Not open for further replies.

jhonrtin

New Member
/**
* 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
 
Status
Not open for further replies.

Members online

No members online now.

Forum statistics

Threads
19,887
Messages
69,884
Members
44,590
Latest member
KRS_Infotech
Active members today
2
New members today
0
New threads today
5
New posts today
5

Follow NamesLot on Twitter!

NamesLot proudly supported by

NamesLot proudly supported by

Top