Make a class called MyCircle, which models a circle.The class contains:
• One private instance variables: radius (int).
• A constructor that constructs a circle with the given radius.
• Write getter to get radius of the circle.
• Write setter to set the radius of the circle.
• A getArea() method that returns the area of the circle in float.
Area of Circle = pr2 (p represent pi value)
• A getCircumference() method that returns the circumference of the circle.
Circumference of Circle= 2pr (p represent pi value)
Create main class that construct two circles, assign radius to both circles and display their respective area and circumference.
Extracted text: Make a class called MyCircle, which models a circle. The class contains: One private instance variables: radius (int). A constructor that constructs a circle with the given radius. Write getter to get radius of the circle. Write setter to set the radius of the circle. A getArea() method that returns the area of the circle in float. Area of Circle = pr2 (p represent pi value) A getCircumference() method that returns the circumference of the circle. Circumference of Circle= 2pr (p represent pi value) 6. Create main class that construct two circles, assign radius to both circles and display their respective area and circumference.