Question: implementation for the method count using vavarh couht: Consider 2.2 (20pts) private double radius; public circle(double r) this. radius =r 3this public double getradius() return
implementation for the method count using vavarh couht: Consider 2.2 (20pts) private double radius; public circle(double r) this. radius =r 3this public double getradius() return this. radius; public string tostring(), String s=" sting s=s+" circle: radius ="+ this.radius; return s; 9. public du6\% cale return 10 11 12 13 14 15 16 17 3 You are to write TWO methods for the Circle class: a. ( 6 points) Method calculateArea that will return the area of this circle. a. (6 points) Methers (6 points) Method findRingArea that has ONE Circle parameter. The method will calculate and return the area of the ring formed by this circle and its Circle parameter. You may assume that the two circles are concentric (they share the same center). Method findRingArea must call the calculateArea works as intended regardless of what you wrote (or didn't write) in part a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
