Otherwise color it red in your exercise declare a class


Write a program that draws a circle with radius 100 and center (200, 200). Ask the user to specify the x- and y-coordinates of a point. Draw the point as a small circle. If the point lies inside the circle, color the small circle green. Otherwise, color it red. In your exercise, declare a class Circle and a method boolean isInside(Point2D.Double p).

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Otherwise color it red in your exercise declare a class
Reference No:- TGS01716466

Expected delivery within 24 Hours