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
0
Answer :
Main.java:16: error: array required, but String found
System.out.print(word[i]);
Similar questions