https:--stackoverflow.com-questions-21424560-how-can-i-add-a-pair-of-numbers-to-an-arraylist

92

https://stackoverflow.com/questions/21424560/how-can-i-add-a-pair-of-numbers-to-an-arraylist -

public class MyClass {
   double x;
   double y;
   public MyClass(double x, double y) {
      this.x = x;
      this.y = y;
   }
}

Comments

Submit
0 Comments