1.

What Are The Similarities Between Arraylist And Vector?

Answer»

There are some ArrayList and Vector are similar classes in various ways such as:

  • MAINTAINS the ORDER of insertion and we can PROVIDE the elements in the order of insertion.
  • Iterator defines of ArrayList and Vector altogether is fail-fast by design.
  • The ArrayList and Vector both provide null values and random access to element utilizing index NUMBER.
  • Both techniques are indexed and based and backed up by an array INITIALLY.

There are some ArrayList and Vector are similar classes in various ways such as:



Discussion

No Comment Found