Computer Science, asked by justheretocopy, 9 months ago

Predict the output:
String a[ ] = {“FLORIDA”, “AMAZON”, “WASHINGTON”};
a) What is the range of indices for array a?
b) What is the length of the array?
c) What is the result of a[2].length()?

Answers

Answered by Vyomsingh
3

Answer:

a):-Range is 2

b):-Length is 3

c):-Result of a[2].length is 10

Answered by anindyaadhikari13
18

a) Range:- 0-2

b) Length:- 3

c) Result:- 10

Similar questions