Solved

Your Program Needs to Store a Sequence of Integers of Unknown

Question 77

Multiple Choice

Your program needs to store a sequence of integers of unknown length. Which of the following is most suitable to use?


A) An array declared as int[] marks;
B) A array list declared as ArrayList<Integer> marks = new ArrayList<Integer>() ;
C) An array declared as int marks[10000];
D) An array declared as int marks[10];

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions