Shouldn't the answer be 3. The String ss is given the value of each individual index of the String array then printed out with the int ii; The while loop prints this out and repeats this action until ii is equal to 3. Output should be
aa, 0
bb, 0
cc, 0
aa,1
bb,1
cc, 1
aa, 2
bb, 2
cc, 2
Unless I misunderstood the question.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
larencejg
1 year, 6 months agoAvinashKr
1 year, 6 months agolanibrand
3 years, 3 months agoVCGMUSE
4 years, 8 months agotadatrolai
3 years, 11 months ago