Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java foreach method

names.forEach(name -> {
    System.out.println(name);
});
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #java #foreach #method
ADD COMMENT
Topic
Name
6+4 =