Solved

What Is the Result of the Following Definition of an Array

Question 86

Multiple Choice

What is the result of the following definition of an array list?
ArrayList<Double> points;


A) The statement causes a compile time error as the size of the array list is not defined.
B) The statement creates an array list of size 0.
C) The statement creates an array list with unlimited size.
D) The statement defines an array list reference but leaves its value as null.

Correct Answer:

verifed

Verified

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

Related Questions