> Dear All
> With the following code from the Sun's Java tutorial could someone explain
[quoted text clipped - 10 lines]
> 'Relatable' is an interface with method 'isLargerThan'. Why has obj1 in the
> 'if' statement in parenthesesthanks in advance
No need, no meaning. Probably leftover detritus from an earlier draft
reading
public Object findLargest(Object object1, Object object2) {
if (((Relatable)object1).isLargerThan((Relatable)obj2) > 0)
return object1;
else
return object2;
}

Signature
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"