?

Free Version

Upgrade subject to access all content

Easy

Jjjjust Joking: Array of Strings

APCSA-DFNPEX

Consider the following code segment.

String[] j = {"gear", "be", "kiwis", "whale", "cat", "a"};
System.out.println(j[j[j[3].length()].length()]);

What is printed as a result of executing the code segment?

A

be

B

kiwis

C

whale

D

cat

E

a