Ask Question
10 June, 12:31

An ArrayList object acts like:

a. An array of primitive values.

b. An array of references to objects of a particlar class.

c. An array of references to objects of class Object.

d. An array of primitive values or of object references.

+2
Answers (1)
  1. 10 June, 13:15
    0
    C

    Explanation:

    Java's Arraylist is implemented as an object that stores groups of other objects much like the simple array thereby allowing the traversal of element by element in the list. Unlike simple arrays however, the arraylist allows objects only so can't store primitives like (int, double, float, char) in an Arraylist. Note however that java provides wrapper classes for these primitives and in most cases carries out autoboxing (Converting primitives to their wrapper classes) for us.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “An ArrayList object acts like: a. An array of primitive values. b. An array of references to objects of a particlar class. c. An array of ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers