Given the following declaration, which expression returns the size of the array, assuming that the array reference
Question:
Given the following declaration, which expression returns the size of the array, assuming that the array reference has been properly initialized?
int[] array;
Select the one correct answer.
(a) array[].length()
(b) array.length()
(c) array[].length
(d) array.length
(e) array[].size()
(f) array.size()
(g) array[].size
(h) array.size
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Programmers Guide To Java SE 8 Oracle Certified Associate OCA
ISBN: 9780132930215
1st Edition
Authors: Khalid Mughal, Rolf Rasmussen
Question Posted: