addd pair of variables to Arraylist

74

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