Tuesday, 6 May 2014

Vector : add vs addElement

1. add() returns a boolean for success. addElement() has a void return type.

2. add() comes from the List interface, which is part of the Java Collections Framework.

Prevoius                                                 Next                                                 Home

No comments:

Post a Comment