Description: Experiment 3 classes, objects, and use the package (6 hours) 1. Experimental content (1) implement a Point class that contains the coordinates of the two int variables x, y, constructor Point () and Point (int xx , int yy), return x and y values int getX () and int getY () method to calculate the distance between two points of the double distance (Point) method. Which calculate the square root with Math.sqrt () method.
To Search:
File list (Check if you may need any files):
ClassTest.java
Point.java
Circle (2).java