Advertisement
scorpion01

Untitled

Dec 7th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. package com.olimpiade.hapus3;
  2.  
  3. public class DataPoint {
  4.     int xValue, yValue;
  5.  
  6.     public DataPoint() {
  7.     }
  8.  
  9.     public DataPoint(int xValue, int yValue) {
  10.         this.xValue = xValue;
  11.         this.yValue = yValue;
  12.     }
  13.  
  14.     public int getxValue() {
  15.         return xValue;
  16.     }
  17.  
  18.     public void setxValue(int xValue) {
  19.         this.xValue = xValue;
  20.     }
  21.  
  22.     public int getyValue() {
  23.         return yValue;
  24.     }
  25.  
  26.     public void setyValue(int yValue) {
  27.         this.yValue = yValue;
  28.     }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement