In this video we go in depth explaining maps, lambda and the stream API. All of these three topics are extremely important for every beginner programmer to learn as they are part of the pillars of programming, just like the rest of the topics in the current course.
By the end of the lesson, you will be familiar with three different types of maps in Java – the HashMap, the LinkedHashMap and the TreeMap. All have their special traits and serve a specific purpose, which George explains very well.
Then you will dive deep into lambda expressions and see how important they are when we are doing certain operations with maps.
Finally, George will touch up on another important topic when it comes to maps – the Stream API, which provides many methods for easy querying of a collection.
As always, we advise you to pause the video right before the solving part of each problem and try to do the exercises on your own first. Then, if you have difficulties, just watch the provided solutions in the video.
*The exercise descriptions are to be found in the PDF document at the end of this post.
Associative Arrays (Maps)
- HashMap <key, value>
- LinkedHashMap <key, value>
- TreeMap <key, value>
Java Stream API
Watch the video and solve the problems. To better understand the material, do the coding exercises and implement the knowledge you acquired. Writing code is the only way to master the skill of code.
Submit your code in the SoftUni Judge System: