Using streams, and Set Collection Factory methods with Java make code easier to read and maintain. By using those features we can also make it more difficult for bugs to hide. If you can use the latest LTS (Long-term support) Java version in your project, it’s the best scenario so that you can use cool Java features such as Collection Factories from Java 9!
Now that we know why it’s important to understand Java features well, it’s time for the Java Challenge!