+91-85006-22255
What will be the output of the following program?
class forEachloop{ public static void main(String args[]) { int[] scores = {215, 234, 218, 189, 221, 290}; int score = 0; for(score : scores) { System.out.print(scores + " "); } }}
Topic: For-each Loop In Core Java Programming
Read this topic Take test on this topic
Open In App