Most of the time you want to use equals() for objects and save == and != for primitives.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Donald R. Cossitt
Joined: Jan 31, 2003
Thanks guys - oops you too Marilyn I was sure I tried object.equals() and for some reason had a problem but it works fine now. I guess I just wasn't holding my mouth right (jutht a bit of a lithp) When you get my two 'C' notes I can submit my code - right? doco
When you get my two 'C' notes I can submit my code - right? doco
Yep, that's usually how it works. You'll probably hear from someone after your payment gets through the mail room, sent up to sorting, then on to accounting, back to educational administration services... ...assuming, of course, that the computers aren't down today.