Write a class calledcircle, which inheres the abovepointclass.

Write a class calledcircle,

which inheres the abovepointclass.

Select appropriate

variable(s).

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

Write constructors.

Write access methods for the variables.

Override the inherited Print method to display variable incircleandpoint.

Write a test program to test it.

I only need the circle class part. Here is the code for the point class that this references. I need this within 2 hours please!

public class point
{
int x,y;

public point(int x, int y) {
this.x = x;
this.y = y;
}

public int getX() {
return x;
}

public int getY() {
return y;
}

void print()
{
System.out.println(“X is ” + x);
System.out.println(“Y is ” + y) ;
}

public static void main(String[] args)
{
point p = new point(10,5);
p.print();
}

}