| Title | The Class for Representing a Point in the Euclidean Plane (Case 2) |
| Catalog Type | SLCItem |
| Persistent ID | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/objects_classes_point__664e415691363872f0ba3649?index=1 |
| Platform Name | PCEX |
| Features | — |
| Description | Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s integer coordinates (x,y). The class should also include getter and setter methods for accessing and changing the point's coordinates and a method to calculate and return the point's distance from the origin (0,0).\n\nThe class PointTester2 instantiates an object from this class, sets the (x,y) coordinates of the point, and calculates the distance between this point and origin. |
| Keywords | — |
| Author | Mohammad Hassany |
| Institution | University of Pittsburgh |
| Iframe URL | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/objects_classes_point__664e415691363872f0ba3649?index=1 |
| Protocol | SPLICE |
| Protocol URL | |
| License | MIT |
| Programming Language | JAVA |
| Natural Language | en |