Multiple choice technology programming languages

What is difference between array & arraylist?

  1. Array: can store primitive ArrayList: Stores object only

  2. Array: fix size ArrayList: resizable

  3. Array: can have multi dimensional ArrayList: can have multi dimensional

  4. Array: lang ArrayList: Collection framework

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

Arrays are fixed-size, built-in language structures that can store primitives directly. ArrayList is a resizable class within the Collections Framework that only stores objects, utilizing autoboxing for primitives. Additionally, arrays natively support multi-dimensional syntax, whereas ArrayList does not, and Arrays are part of Java language basics while ArrayList is in java.util.