class Mundo {
   public final static int N_CONTINENTES=5;
   Continente[] continentes;
   String nombre;
   Mundo() { continentes = new Continente[N_CONTINENTES];}
   Mundo(Continente [] cs) { continentes = cs;}
   void p() {
      System.out.println("El mundo es "+nombre);
      for (int i=0;i<continentes.length;i++) 
            continentes[i].p();
   }
}