algo2/src/javaapplication1/JavaApplication1.java
public static void main(String[] args) {
   
        add a1=new add();
         int []a={1,5,2,1,4,0};
         a1.Intersections(a);
              
    }
/**
     * @param args the command line arguments
     */
@param args the command line arguments
@param args the command line arguments
public static void main(String[] args) {
        add a1=new add();
         int []a={1,5,2,1,4,0};
         a1.Intersections(a);
    }
public static void main ( String [ ] args ) { add a1 = new add ( ) ; int [ ] a = { 1 , 5 , 2 , 1 , 4 , 0 } ; a1 . Intersections ( a ) ; }
@param args the command line arguments
@param args the command line arguments