import java.awt.* ;
import java.applet.Applet ;

public class Example1 extends Applet {

   Pair p1 ;
   Pair p2 ;

   public void init() {
      p1 = new Pair(1,-1) ;
      p2 = new Pair(2,-2) ;
      System.out.println("p1: (" + p1.x + ", " + p1.y + ")" ) ;
      System.out.println("p2: (" + p2.x + ", " + p2.y + ")" ) ;
   }

}

class Pair {

  Pair( int x, int y ) {
     this.x = x ;
     this.y = y ;
  }

  int x = 0 ;
  int y = 0 ;

}
