Driver Code
public static void main ( String [ ] args ) { int N = 3 ; ArrayList < Point > vec = new ArrayList < > ( ) ; vec . add ( new Point ( 100 , 100 ) ) ; vec . add ( new Point ( 10 , 10000 ) ) ; vec . add ( new Point ( 1 , 1000000000 ) ) ;