java foreach lambda multiple lines 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());
}
});