foreach lambda multiple arguments java code example
Example: java lambda foreach multiple statements
items.forEach(item->{
System.out.println(item);
System.out.println(item.toLowerCase());
}
});
items.forEach(item->{
System.out.println(item);
System.out.println(item.toLowerCase());
}
});