Help the world stop coronavirus! Stay home!

Prev Next

Java / List and its implementations

What are the similarities between an array and an ArrayList?

An array and an array list share the below properties that make its behavior similar in Java.

  • Both array and ArrayList allow duplicate elements.
  • Both are unordered lists.
  • Both uses index to refer and retrieve its elements and index starts with 0.
  • Both supports null values.
  • Both maintain the order of insertion.

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

Map and its implementations

Comments & Discussions