Andrew Marcus wrote:
> Can anyone help?All I want to do the following in one of my program:-
>
> Object p=.................;//some object corresponding to my
> program.But I couldn't do
>
> if(p.compareTo(object k)<=0)
> .................
>
> CompareTo methods is for integer but I want to do it for objects,what
> should I do to handle that problem??
Oh, you got such good help in both groups to which you multi-posted. It
is
somewhat rude to those helpful folks that you multi-posted, though. You
should at worst have cross-posted, but really one of the groups would have
sufficed.
--
Lew