The best way for us to solve this problem is to operate collectively. So, any of these will get the job done inside your situation: course Circle // The radius discipline non-public double radius; public Circle(double radius) this.radius = radius; // The radius property general public double getRadius() return radius; https://smartworlddeveloper.co.in/