addd pair of variables to Arraylist

81

addd pair of variables to Arraylist -

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

Comments

Submit
0 Comments