Java 8 🔥 | Programming Interview Questions & Answers | Stream API | Java Techie

preview_player
Показать описание
In this Tutorial We will discuss commomly asked coding & programme on java 8 stream api with hands-on coding

#JavaTechie #Java8 #Coding

java 8 playlist :

Spring boot microservice Live course Just started (Recordings available)

Hurry-up & Register today itself!

PROMO CODE : Java40

GitHub:

Blogs:

Facebook:

guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie

Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account
Рекомендации по теме
Комментарии
Автор

Im springboot coder. Plz continue these series. Highly appreciated your work.

gtbaba
Автор

Hi Bro..Thanks a lot..watched ur videos and really more helpful

Two alternate ways to find the second highest number :

Without using boxed()
1. Integer secondHighest1 = - 2).findFirst().getAsInt();

With using boxed()
2. Optional<Integer > secondHighest2 = - 2).findFirst();
and then print secondHighest2.get()

condition -> array should not be empty and must contain at least 2 elements

muhassinmusthafa
Автор

Great Explanation Sir, Thank you so much!

azimahmad
Автор

Because of you sir i cracked couple interviews, when I started looking for a new job, I just watching your video again and revising the concept
One of the best YouTube channel for learner

Lot's of respect sir..

amolorape
Автор

34:30 using map() is redundant
List<Integer> oneStartingNumberLists = Arrays.stream(nums)
.boxed()
.filter(n ->


Since it is boxed() meaning Integer can be converted into string using toString()

thevagabondyt
Автор

Thanks @javatechie excellent content, but for this problem, this is much simpler //find longest string from given array
String longestword = strings.stream().max((s1, s2)->s1.length()-s2.length()).get();

abiz
Автор

Very useful lecture for beginners. Produce more such interview related coding questions which involves 0 to 6/7 years. We're here to consume 😋

aadiraj
Автор

Great Video 🙌Thanks for sharing 👍
Please keep sharing similar coding challenges on Java8+

mohammadzakaria
Автор

thank you for teaching how to use stream API effectively

aman_deep
Автор

Simple and to the point coverage of different stream related questions. Thanks for your efforts.

saurabhsuman
Автор

Awesome video, specially how he showed groupingBy() example and trick to solve many interview questions using this base technique where cosmetic modifications do wonders. The other thing is that he shown one example second largest/lowest and largest/lowest element in list but there is one additional thing is required which is to add distinct() keyword in stream otherwise if there are duplicate largest/lowest number then it would not work

farhaankazi
Автор

Thanks, just what I needed for my upcoming interview.

dmode
Автор

Excellent ! Please bring in some more practical problem solving examples in JAVA. This is very rare high quality stuff

ishantkhandelwal
Автор

simple solution for finding nth largest string .String
.sorted((s1, s2) -> s2.length() - s1.length())
.skip(n-1)
.findFirst()
.orElse("");

vivekpal
Автор

Really Useful and covered most of the repeatated questions on Java 8 interviews...Thanks Basant😍

vinodnayak
Автор

It's just perfect. Thank you. Please keep going.

AkshaySingh-wxcp
Автор

wow excellent.... Thank you very much @Java Techie, many times asked this questions & now I can answer.

Atul_Shegokar
Автор

very very good and useful bro, this is called spoon feeding 😄😍😍😍 love it

ksaravind
Автор

Best ever java coding stream 8 video .

claytonrobert
Автор

Please provide more examples.. It really helps!!.. Continue doing this as a series.. thanks a lot

techtips