Question 24 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question 24 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question

Given:

public class Test {
public static void main(string[] args) {

gtring[][] chs = new string[2][]:
chs[0] = new string[2];

chs[1] = new string[5];

int i = 97;

for (int a = 0; a < chs.length; att) {
for (int b = 0; b < chs.length; btt) {

chs[a][b] = "" + i:
itt
3
}
for (string[] ca : chs) {
for (String ¢ : ca) {
System.out.print(c +" "i

1
system. out. println();

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

A.