Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/09/2011, 00:44
Erickvk
 
Fecha de Ingreso: septiembre-2007
Mensajes: 268
Antigüedad: 16 años, 8 meses
Puntos: 8
Respuesta: problema haciendo Arreglo con direcciones de una lista enlazada

NodoLista arreglo []=new NodoLista [4];
esta instruccion te crea el array pero no su contenido. Si quieres crear el contenido debes hacer un for y crearte cada estructura.

for (int i=0;i<arreglo.length; i++)
{
arreglo[i]= new NodoLista();
}