Semester_2/OOP/Lab_04/Point.java
<filename>Semester_2/OOP/Lab_04/Point.java<gh_stars>0public class Point {

  private float x;
  private float y;

  public Point() {
    this.x = 0.0f;
    this.y = 0.0f;
  }

  public Point(float x, float y) {
    this.x = x;
    this.y = y;
  }

  public float getX() {
    return this.x;
  }

  public float getY() {
    return this.y;
  }
}
