ESTOY EN 2 SEMESTRE DE ING. EN SISTEMAS, Y EL COMPILADOR QUE TENGO ES KAWA, ME MARCA UN ERROR EN LA LINEA DONDE ESTA LA CARITA, POR FAVOR SOLISITO QUE ME APOLLEN A ENCONTRAR EL ERROR
class lista
{
int tamaño=index=d;
int[] arreglo;
void crear(int tam)
{
arreglo=new int[tam];
tamaño=tam;
}
void imprimir
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)
{
for(int i=0; i<index; i++)
System.out.println(arreglo[i]);
}
void meter_valor(int dato)
{
if (index==tamaño)
{
System.out.println("arreglo lleno");
}
else
{
arreglo[index++]=dato;
}
}
}