java 8 streams scenario based logical question | Java Interview Question

Published --