Hi.I want to return a value inside of a LinkedList with the method get,i have:
this.sentidoActual =(int)sentidos.get(8);
sentidoActual is a integer and when i do that i receive the following error:
"Formiga.java": inconvertible types; found : java.lang.Object, required: int at line 23, column 46
this.sentidoActual =(int)sentidos.get(8);
sentidoActual is a integer and when i do that i receive the following error:
"Formiga.java": inconvertible types; found : java.lang.Object, required: int at line 23, column 46