Computer Science, asked by kaurnijjar0015, 6 months ago

What displays from the following statements? String word = "abcde"; for (int i = 0; i <4; i+=2) System.out.print(word[i]);
Bd
Ace
Ab
Ac​

Answers

Answered by sairamponnaganti178
0

Answer :

Main.java:16: error: array required, but String found

System.out.print(word[i]);

Similar questions