Am working in J2ME where I have a field to search for items which is placed inside vectors. So I was wondering how to do it..? If suppose I have a 3 items starting with letter "A" then how would I print three of them..? I saw this and tried this
System.out.println("ITEM "+LIST_FNAM.indexOf(SEARCH_ITEM));
but the result was
ITEM 0