what does this error mean? and how do i solve it?
foreach not applicable to expression type.
im am trying to write a method find(). that find a string in a l
Without code this is just a grasp at straws.
If you're trying to write your own list-find method, it would be like this
boolean contains(E e, List list) { for(E v : list) if(v.equals(e)) return true; return false; }