comparison function for String:
we should not use "==", for it compares the address of the two arguments instead of the contains.
so we use a.equals(b);
comparison function for String:
we should not use "==", for it compares the address of the two arguments instead of the contains.
so we use a.equals(b);