String itemName = list.get(i);
for some reason this is returning a type mismatch error. i is an int and what i want to do is return the value that is in the list at position i and store it in the variable itemName.
it should return as a string (list.get(i) ). list is a linked list.
anyone know why this is happening?
and any ideas on how to fix this?
cheers
Social Networking Bookmarks