Programming Languages, Java, Software Development, Software Engineering, Software Architecture.
Consumer example19 = (var a) -> System.out.println("a = " + a); There are a couple of situations where it won’t work, for example: BiConsumer example21 = (var a, var b) -> System.out.println(a +" & "+ b); BiConsumer example22 = (var a, b) -> System.out.println(a +" & "+ b); // won't work BiConsumer