#7 - Java 8 - Stream API Part-1 | foreach, map, collect | With Examples

Published: 02 September 2022
on channel: Lazy Programmer
533
18

Hello Everyone,

In this video we'll see most important addition in Java under Java 8 the Stream API. We'll see what is Stream API. How it can be used. Also, we'll cover forEach, map and collect operations in this video theoretically as well as practically.

0:00 Introduction
0:15 What is Stream API?
1:13 How to obtain Stream from Array in Java?
1:48 How to obtain Stream from ArrayList or Collection in Java?
2:09 What is forEach function in Java?
3:42 What is map() function in Java?
5:29 What is collect() function in Java?
7:00 Practice: Creating Stream from Array and ArrayList and applying forEach function
10:54 Practice: Using map() function example
12:58 Practice: Using collect() function example to store processed stream to another List


Java interview questions and answers

To check out more on the tutorials Topic wise you can follow below links

Links:

Please do checkout other tutorial videos also if required:

Java 8 Features:    • Java 8  

Core Java Complete Tutorial:    • Core Java Complete Guide  

Interview Preparation for Java:    • Interview Preparation Java  

Python:    • Python  

Linux:    • Linux  

Please do LIKE, Share and SUBSCRIBE

Thank You

#java8 #streamapi #stream #interview #multithreadinginjava #hashmap #hashtable #interview #jdbc #java #db #treeset #collectionframework #binarysearchtree #linkedlist #list #arraylist #fibonacci #java #fastest #gc #heap #java #stack #jvm #architecture #exception #interview #exam #interface #abstraction #coding #methodoverloading #methodoverriding #runtime #compiletime #polymorphism #inheritance #constructors #objects #static #eclipse #developer #installation #download #awesome #youtube #youtuber #youtubers #subscribe #youtubevideos #sub #youtubevideo #like #identifiers #operators #variables #typesofvariables #innerclasses #static


On this page of the site you can watch the video online #7 - Java 8 - Stream API Part-1 | foreach, map, collect | With Examples with a duration of hours minute second in good quality, which was uploaded by the user Lazy Programmer 02 September 2022, share the link with friends and acquaintances, this video has already been watched 533 times on youtube and it was liked by 18 viewers. Enjoy your viewing!