Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code JSP/Java
Title: bao Download
 Description: (1) to implement a Point class, the class contains says the coordinates of two type int variable x, y, and constructor Point () and Point (int xx, int yy), return the x and y values int getX () and int getY () method, to calculate the distance between two points of double short (Point) method. The square root is used in the math.sqrt () method. (2) to implement a Circle class, the class contains a center Point type variable center, said radius radius, int variables, as well as construction method Circle (), Circle (int xx, int yy, int r), Circle (Point c, int r), and returns the pupil int generating (), double area () method, which returns two Circle whether for the same Circle (0), concentric circles (return 1), the intersection of round (2), separation of Circle (return to 3), contains the Circle (such as return 4) relationship of int base Circle (c) and other methods. The PI value can be used with math.pi constants. (3) implement the ClassTest class of the above two classes. This class creates a number of Point objects and Circle objects in the main method, and invokes the relevant method to output the return value of the method to verify its correctness. (4) adjust the package names of Point classes, Circle classes and main classes to p1, p2, p3, and rerun to verify that they are running correctly.
 To Search: perimeter bao
  • [CGAL-3.3.1] - Many two-dimensional three-dimensional g
  • [sdfgdsf] - Intelligent Building Quality Acceptance
  • [EZ_USB_DRV] - EZ-USB driver source code, to buy when t
File list (Check if you may need any files):

CodeBus www.codebus.net