public static boolean member(Integer obj,SimpleList<Integer> l);
// returns true if obj is a member of l, false otherwise
{
}
the question is how could I use recursion to show that there is a member of a list?
I thought that maybe
if (l.isEmpty())
{return false}
else
?
thanks