Ask Question
18 August, 05:47

To use an ArrayList in your program, you must import:1. the java. collections package2. the java. awt package3. Nothing; the class is automatically available, just like regular arrays. 4. the java. util package5. the java. lang package

+1
Answers (1)
  1. 18 August, 06:05
    0
    Option 4: the java. util package

    Explanation:

    Java Array List is not imported by default and therefore we need to import java. util package. Array List is one of the Java predefined collections used to store a group of entities.

    One advantage offered by Array List compared with a normal array is that an item can be dynamically added into the list without recreating a new list. Besides, array list also offered some built in methods to manipulate the elements within the list that can save a project development time.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “To use an ArrayList in your program, you must import:1. the java. collections package2. the java. awt package3. Nothing; the class is ...” 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