Ask 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 references to objects of class Object.

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

+4
Answers (1)
  1. 13 June, 09:09
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers