Multiple Choice
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
Correct Answer:
Verified
Q77: What is the result of the following
Q78: Which statement is true about the code
Q79: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q80: This code snippet is an implementation of
Q81: Assume the following variable has been declared
Q83: A collection of test cases that can
Q84: Consider the following code snippet: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB7392/.jpg"
Q85: Which one of the following statements about
Q86: Consider the following line of code for
Q87: In a partially filled array, the number