
package cib412.poo.relaciones;
public class TestAsociacion {
    
   public static void main(String [] args) {
     AsociacionA x = new AsociacionA();
     AsociacionB y = new AsociacionB();
     y.setA(x);
     try {
      y.metodo2();
     } catch (Exception ex) { ex.printStackTrace();}
     AsociacionA[] muchos= { new AsociacionA(),new AsociacionA()};
     AsociacionMultiple z= new AsociacionMultiple();
     try {
         z.metodo3(muchos);
     } catch (Exception ex) { ex.printStackTrace();}    
      
   }
}
