java
public class Circle{ private double radius; public Circle(double r) { radius = r; } public double getArea() { return Math.PI * radius * radius; } public double getRadius() { return radius; }}
Write a toString method for thisclass. The method should return a string containing the radius andarea of the circle.
Write an equals method for this class.The method should accept a Circle objectas an argument. It
PayPal Gateway not configured
PayPal Gateway not configured