Find out the PI value defind in Java
Description
The following code shows how to find out the PI value defind.
Example
/*from w w w . j a v a2 s . com*/
public class Main {
public static void main(String[] argv) {
System.out.println("Java's PI is " + Math.PI);
}
}
The code above generates the following result.