HW4.1 - 1 import import import import...

This preview shows page 1 - 2 out of 2 pages.

1import components.simplereader.SimpleReader;import components.simplereader.SimpleReader1L;import components.simplewriter.SimpleWriter;import components.simplewriter.SimpleWriter1L;/*** Put a short phrase describing the program here.** @author **/public final class HW04p1 {private HW04p1() {}/*** Checks whether the given point (xCoord, yCoord is inside the circle of* radius 1.0 centered at the point (1.0, 1.0)** @param xCoord* the x coordinate of the point* @param yCoord* the y coordinate of the point* @return true if the point is inside the circle, false otherwise*/public static boolean pointIsInCircle(double xCoord, double yCoord) {

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture