Hey guys!! Welcome to flower brackets blog. In this post we are going to learn java program to calculate circumference of circle.

Also read – area of circle java

#### Java program to calculate circumference of circle

Here’s the java example program to find circumference of circle,

public class CircumferenceOfCircleJava { public static void main(String[] args) { int radius = 5; double circumference = Math.PI * 2 * radius; System.out.println("Circumference of circle : " + circumference); } }

**Output:**

Circumference of circle : 31.41592653589793