1.

Which is the new method introduced in java 8 to iterate over a collection?

A. for (String i : StringList)
B. foreach (String i : StringList)
C. StringList.forEach()
D. List.for()
Answer» D. List.for()


Discussion

No Comment Found