About Question enthuware.ocpjp.v17.2.3744 :
Posted: Mon Aug 01, 2022 7:08 am
				
				You should remove the commented out line, as it is shown like that.
This way the code does not compile, as the second line is out of the comment.
			Code: Select all
//Stream.of(cars).filter(c->c instanceof Sedan)
		.collect(Collectors.mapping(c->c.name), Collectors.joining(",")));