Area of a circle can simply be evaluated using following formula.

Area = pi * r^{2}where r is radius of circle

## Java

`// Java program to find area ` `// of circle ` ` ` `class` `Test ` `{ ` ` ` `static` `final` `double` `PI = Math.PI; ` ` ` ` ` `static` `double` `findArea(` `int` `r) ` ` ` `{ ` ` ` `return` `PI * Math.pow(r, ` `2` `); ` ` ` `} ` ` ` ` ` `// Driver method ` ` ` `public` `static` `void` `main(String[] args) ` ` ` `{ ` ` ` `System.out.println(` `"Area is "` `+ findArea(` `5` `)); ` ` ` `} ` `} ` |

*chevron_right*

*filter_none*

Please refer complete article on Program to find area of a circle for more details!

## Recommended Posts:

- Java Program for Program to calculate area of a Tetrahedron
- Rectangle with Maximum Area using Java Pair
- Java Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +.......+ n/n!
- Java Program to Find remainder of array multiplication divided by n
- Java Program for Find the perimeter of a cylinder
- Java Program to Find sum of even factors of a number
- Java Program to Find minimum sum of factors of number
- Java Program for Find largest prime factor of a number
- Java Program to find largest element in an array
- Java Program to find sum of array
- Java Program to Find sum of Series with n-th term as n^2 - (n-1)^2
- Java Program to find Product of unique prime factors of a number
- Program to find Quotient And Remainder in Java
- Java Program to find transpose of a matrix
- Java Program to Find the Number Occurring Odd Number of Times
- Java Program to Find the closest pair from two sorted arrays
- Java Program to find whether a no is power of two
- Java Program for Program for array rotation
- How to find duplicate elements in a Stream in Java
- Find the last element of a Stream in Java