Solved

The Following Statement Gets an Element from Position 4 in an Array

Question 41

Multiple Choice

The following statement gets an element from position 4 in an array:
X = a[4];
What is the equivalent operation using an array list?


A) x = a.get(4) ;
B) x = a.get() ;
C) x = a.get[4];
D) x = a[4];

Correct Answer:

verifed

Verified

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

Related Questions