Public class Circle private double radius. The easiest way to find the radius is by dividing the diameter in half. So the area of a circle is pi R2.
Assume 0 th p 2 0 th p 2 and place the center of the circle at the.
Visual on the figure below. Area Of A Circle Formula If you know the radius r r in whatever measurement units mm cm m inches feet and so on use the formula p r 2 to find area A A. A C2 4p. Public double getRadius return radius.