Multiple Choice
Consider the following code snippet: ArrayList<Double> somedata = new ArrayList<Double>() ;
Somedata.add(10.5) ;
What is the size of the array list somedata after the given code snippet is executed?
A) 0
B) 1
C) 10
D) 2
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q17: What is the output of the following
Q18: Consider the following code snippet. Which statement
Q19: What is the value of the cnt
Q21: When a Java program terminates and reports
Q22: What is the output of the code
Q23: What is the result of executing this
Q24: Which one of the following is the
Q25: What will be printed by the statements
Q27: Suppose you wish to use an array
Q77: What is the result of the following