On Wed, Jul 19, 2000 at 04:36:01PM -0500, Norman Richards wrote:
>
>
> > But my question is: there are BOTH java.util.Vector.add(obj) and
> > java.util.Vector.addElement(obj) in Java2 API. What are the difference?
> > Other than the return values, can they replace each other? Thanks a lot
>
> According to the JDK source code, (and associated documentation)
> they are identical except for the return values:
Right - in Java2, methods were added to Vector to make it part of the
Collections API (implements the methods of Collection) so as a result
there are some extra methods with duplicate functionality.
Daniel
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]