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