Your program needs to store an integer sequence 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:
Verified
Q91: What is the result of the following
Q92: What should you check for when calculating
Q93: Consider the following line of code for
Q94: Which statements are true regarding the differences
Q95: The following statement gets an element from
Q97: Consider the following code snippet:
Q98: What is the output of the following
Q99: Which one of the following is the
Q100: Which one of the following is a
Q101: Consider the following code snippet, where the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents