package com.codegym.task.task05.task0522;
/*
Max constructors
*/
public class Circle {
public double x;
public double y;
public double radius;
public Circle(double x, double y, double radius)
{
this.x = x;
this.y = y;
this.radius = radius;
}
public Circle(double x, double y)
{
this(1, 3);
}
public Circle(double x, double radius)
{
this(4, 7);
}
public Circle(double y, double radius)
{
this(1, 1);
}
//write your code here
public static void main(String[] args) {
}
}
package com.codegym.task.task05.task0522;
/*
Max constructors
*/
public class Circle {
public double x;
public double y;
public double radius;
public Circle(double x, double y, double radius)
{
this.x = x;
this.y = y;
this.radius = radius;
}
public Circle(double x, double y)
{
this(1, 3);
}
public Circle(double x, double radius)
{
this(4, 7);
}
public Circle(double y, double radius)
{
this(1, 1);
}
//write your code here
public static void main(String[] args) {
}
}