Parallel Streams intro || Stream processing Interview Questions and Answers Java 8 | Code Decode

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

Комментарии • 239

  • @abhishekrao3644
    @abhishekrao3644 3 года назад +46

    To understand all these advanced concepts, anyone has to go thru tons of materials which involves a lot of effort and time. Thanks a ton for putting all your effort on RUclips. The way you explain things is brilliant and the quality is top-notch. Appreciate it! :)

    • @CodeDecode
      @CodeDecode  3 года назад +3

      Thanks for taking your time out and writing back to us Abhishek 👍👍. Much appreciated 👍👍

    • @kajalsaini2283
      @kajalsaini2283 Год назад

      Really true ...the quality of presentation is to the top.

  • @nishiagarwal809
    @nishiagarwal809 Год назад +1

    I was total naïve in this topic and voila I have come to right video to learn Streams and crack the video interview . Thankyou for the informative video which made learning process smooth and enjoyable.

    • @CodeDecode
      @CodeDecode  Год назад

      Many congratulations Nishi 👏👏👏👏👏well deserved Girl. Keep learning keep shining Nishi⭐✨⭐✨. Proud of you❤

  • @sureshmamidur2201
    @sureshmamidur2201 Год назад +1

    Hello madam, I started watching your core java 8 videos. The way you explained the concepts with live examples it's very easy to understand. Thanks for making the videos.

    • @CodeDecode
      @CodeDecode  Год назад

      Thanks for your motivation Suresh. Means a lot to us 🙏

  • @sairakeshp
    @sairakeshp 3 года назад +3

    I have watched too many videos on streams, but this one is the best explanation.

  • @digitallearning-29
    @digitallearning-29 9 месяцев назад

    Ma'am you explained each and every topic in video very simple way and i really enjoyed the learning , all the very best to you, keep doing it. thank you

  • @venkatasaikrishnak6984
    @venkatasaikrishnak6984 3 года назад +1

    I must say...it's the best I've seen on Java8 streams explanation and usage. Please continue with next part of Parallel Streams.

  • @manosij00roy
    @manosij00roy 3 года назад +3

    I am very much interested to know more about parallel streaming and their real life use cases. With examples. You are too good binding a vast topic in a properly packaged and detailed manner. Wish to see the next video soon!

    • @CodeDecode
      @CodeDecode  3 года назад +1

      Sure we will create that soon........

  • @ShivamKumar-fr1rh
    @ShivamKumar-fr1rh 3 года назад +1

    Hello ma'am, you are doing a great job, the way you describe and give examples with code it becomes so easy to understand, and main thing is everyone here is because of your knowledge, you are not like most of the female creators using face cam video to attract viewers. You're awesome, keep creating content like this.

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks shivam 😊😊👍👍🙏🙏

  • @mayilesh1483
    @mayilesh1483 3 года назад +3

    Anyone can explain code this much easier from scarch i believe its you. I started watching your videos daily even its watched 😊keep doing ur good work💪

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks for encouraging us. Thats really nice of u to take ur time out just to let us know that we are on the right track. Thanks for the motivation. Much appreciated 🙏🙏

  • @ZahraHashemiNejad
    @ZahraHashemiNejad День назад

    It was the best I've ever watched for java8. Simple and complete...

  • @prathameshbodhale.2325
    @prathameshbodhale.2325 2 года назад +1

    Thank you mam for explaining in simple way. Your videos boost my confidence and clearing the concept.
    Hats off mam for taking effort for us.👏🙏

  • @rajukaranjule4845
    @rajukaranjule4845 6 месяцев назад

    First of All you voice is very beautiful.
    "Wow, this Java 8 tutorial is absolutely fantastic! 🚀 Your clear explanations and engaging examples make learning these new features a breeze. I've been struggling to grasp some of the concepts, but your video has really helped clarify things for me. Thank you so much for taking the time to create such high-quality content. Looking forward to diving into more of your tutorials! Keep up the excellent work! 👏"

  • @mayilesh1483
    @mayilesh1483 3 года назад +7

    Searching for parallel stream in code decode for more than 5 min and found that it is not uploaded yet 😅 that much addicted. Please post parallel stream i eagerly waiting

    • @CodeDecode
      @CodeDecode  3 года назад +4

      😅sorry for inconvenience Mayilesh, will post it soon. It's just that we are stuck with spring boot from Scratch playlist. Once done will quickly move to this topic 👍

    • @pranayranjan5688
      @pranayranjan5688 3 года назад

      @@CodeDecode Ma'am, is the video for parallel stream uploaded?

  • @visukcse
    @visukcse 2 года назад +1

    Hello madam, Though we can create stream object from collection, why java introduced stream.of(). Is there any particular reason?

    • @CodeDecode
      @CodeDecode  2 года назад

      What if you don't have collection still u need stream? Of is the way to convert any bunch of objects to stream 🙂👍

  • @AbhishekKumar-on8zm
    @AbhishekKumar-on8zm Год назад +1

    Mam compareTo() is of comparable interface and not comparator right? Just one clarification don't get me wrong.

    • @CodeDecode
      @CodeDecode  Год назад +1

      Correct Abhishek. I might have slipped my tongue

    • @AbhishekKumar-on8zm
      @AbhishekKumar-on8zm Год назад

      @@CodeDecode Everybody makes mistakes. Thanks for the confirmation mam.

  • @devisri2617
    @devisri2617 2 года назад +1

    I really appreciate your topic on streams and these two videos helped me so much. Thank you for providing detailed explainations.

    • @CodeDecode
      @CodeDecode  2 года назад

      Thanks Devi Sri 🙂👍

  • @kazaasekhar
    @kazaasekhar 2 года назад +1

    Unfortunately i have a chance to give one like otherwise i do it for one lakh times... i have seen many from this channel very very clear expalination and quality is too good. only i can do that started sharing in my office and friends group in way giving promotion to you...thanks a lot.

    • @CodeDecode
      @CodeDecode  2 года назад

      Thanks a lot for supporting us Sekhar 🙂 means a lot to us. Glad to have u on board 🙂👍

  • @yumraj12
    @yumraj12 Год назад +1

    Hi, You are awesome while describing any thing with code, I am following this channel since long, Do we have a repos for this or all the videos you have?

    • @CodeDecode
      @CodeDecode  Год назад

      Thanks 😊. We will check and upload to git 👍

  • @Vihaanhyperboy200
    @Vihaanhyperboy200 3 года назад +1

    Nice video on streams with good explanations and examples. I have used parallel streams in my project with batch size. I believe they take the maximum threads (no of cores in CPU-1). But I have one basic doubt, if one core is for one thread then a hexacore CPU can run only 7(8-1) threads at a time. Most importantly they are useful for synchronized processing like Reading a big file in chunks in parallel and produce the same output into another file in the same order. Hope you cover these in the next video of parallel streams.

  • @veena618
    @veena618 3 года назад +6

    Thank you!! so much for a such perfect videos covering even single points. Request you to cover next part as well please.

    • @CodeDecode
      @CodeDecode  3 года назад +1

      sure veenu we will cover it soon.......

  • @thanipattavan
    @thanipattavan 8 месяцев назад

    Your dedication in explaining the features of promotion as well🎉🎉 greatt

  • @STUDYCELL1
    @STUDYCELL1 2 года назад

    Great explanation Mam but I am confused in compareTo method..it's a part of comparable but you told comparator.Can you please explain.

  • @shankardayal6928
    @shankardayal6928 3 года назад +1

    Great help madam.
    Map vs flatmap is very commonly asked java 8 question.
    Please include this also. Thanks

    • @CodeDecode
      @CodeDecode  3 года назад

      Sure we will do today in upcoming videos 👍👍

  • @shivamshah431
    @shivamshah431 3 года назад +1

    Very clear and precise explanation. Do you have a medium blog or a twitter profile that I can follow?

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks shivam and You can connect us on LinkedIn

  • @ravindrasiddavatam1097
    @ravindrasiddavatam1097 2 месяца назад +1

    Very clear explanation. Appreciate it.

  • @monishad7040
    @monishad7040 2 месяца назад

    Haev you created any java 21 lectures un udemy ?. If so please share me the link. Your course are really awesome. ❤

  • @sahanabhat2175
    @sahanabhat2175 2 года назад +1

    Thank you so much very very easy way to understand. Lot of effort to do this. Thanks a ton

  • @lokeshmuthukumar1284
    @lokeshmuthukumar1284 Год назад +2

    your video's very easy to understand mam, please continue with parallel stream. ❤

  • @yoursarnk
    @yoursarnk 3 года назад

    Sometimes we need to modularise our foreach loop in real time project, let's say a batch/job running. And within a foreach loop we need to call separate other method. Can we do same in case of foreach() method too in java8??

  • @swathi1stjune
    @swathi1stjune 2 года назад +1

    Very informative, nice explanation, u have covered all the concepts in easily understandable manner. Tq u so much :)

  • @prakharupreti553
    @prakharupreti553 3 года назад +1

    Very good explanation of streams. Probably the best tutorial for streams in you tube

  • @subhashjha936
    @subhashjha936 2 года назад +1

    Thanks for such great explanation. I am not able to find parallel stream video. Eagerly waiting for parallel stream video. Thank u in advance.

    • @CodeDecode
      @CodeDecode  2 года назад +1

      we wil upload it soon....

  • @ankitsinghal8169
    @ankitsinghal8169 2 года назад +1

    Thank You so much so explaining the streams topic, now the sequential streams are well understood. Please give us more idea about parallel streams. Thanks

  • @dastagirisha145
    @dastagirisha145 3 года назад +1

    Please cover complex problems in parallel stream so that will get more knowledge, and Thank-you so much for your videos it was very helpfull. Keep up the good work always.

  • @crazeeealgorithms3236
    @crazeeealgorithms3236 3 года назад +2

    Thank You so much, please upload problems with Parallel streams and further tutorials of parallel streams.

    • @CodeDecode
      @CodeDecode  3 года назад

      sure we will upload it soon

  • @lovebranch-hemavasanth
    @lovebranch-hemavasanth Год назад

    is there any other video about the parallel streams , could't able to find the continue of this video

  • @sudheerg9182
    @sudheerg9182 5 месяцев назад

    The videos in Core Java Frequently asked interview questions are not arranged properly , can you please check.

  • @boxofgames3
    @boxofgames3 Год назад +1

    Nice mam, your explanations are very understandable...

  • @maheshdarga387
    @maheshdarga387 3 года назад +1

    Yes.. please do further videos.. it's helps lot...

  • @rishiraj7679
    @rishiraj7679 Год назад +1

    Love your videos. Helps a lot. But only for this video, first 6 minutes was about code gym actually. 😅

    • @CodeDecode
      @CodeDecode  Год назад

      We are really sorry for the inconvenience Rishi. Even we found it was really really long so we stopped taking any integration which is more than 1, 1.5 minutes. We know that people want to study and hence they are here. Again really sorry for this inconvenience Man

  • @RishabhRawat_98
    @RishabhRawat_98 Год назад +1

    Beautifully explained the streams and related concepts ✨. Thanks for all the hardwork 🙏.

  • @MM-ki2vv
    @MM-ki2vv Год назад +1

    So thanks for all you efforts. God bless you

  • @nitishchaudhary7777
    @nitishchaudhary7777 2 года назад +1

    Thank you share knowledge. Please make vedio for parallel stream .. it's covered in this vedio.

  • @sahityakulkarni3508
    @sahityakulkarni3508 2 года назад +1

    Very Informative. Appreciate your effort in this process. Could you please upload the videos of continuation topics.

    • @CodeDecode
      @CodeDecode  2 года назад

      ruclips.net/p/PLyHJZXNdCXsdeusn4OM33415DCMQ6sUKy

  • @JainNamit
    @JainNamit 3 года назад +2

    yes we want video on problems and many examples of parallel streams.

  • @MegaKuheli
    @MegaKuheli 3 года назад +1

    It's really engaging..waiting eagerly for the parallel Stream next video.

  • @siddharthshinde9630
    @siddharthshinde9630 3 года назад +1

    First of all thanks a lot your videos are excellent please cover Problems on parallel processing aa well 🙂

  • @sanzayy
    @sanzayy 3 года назад +1

    Thanx for making these topics easy to understand

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks for writing back Sanjay👍👍

  • @sureshgarine
    @sureshgarine 3 года назад

    Hi madam, thank you for the wonderful video, how can we apply if conditions in the stream, can u please explain

  • @tusharsonkar5208
    @tusharsonkar5208 3 года назад +1

    Content is no doubt very valuable and useful for interview perspective but here in sorted(o2.compareTo(o1)) we are using comparable but mistakenly you told Comparator.

    • @krishnavamsi1824
      @krishnavamsi1824 2 года назад

      Sorted will take comparator as input function.

  • @gurleenvirk1949
    @gurleenvirk1949 3 года назад +1

    Hi thanks for this video, explained everything in much simpler way. Please post parallel streams video also as soon as possible. 👍🏻

    • @CodeDecode
      @CodeDecode  3 года назад +1

      Thanks Gurleen. Yes we will post that soon 👍👍

  • @sharmarahul17
    @sharmarahul17 10 месяцев назад +1

    Perfect explanation !👍

  • @kazaasekhar
    @kazaasekhar 3 года назад +1

    excellent teaching thanks to your channel

  • @mahendrachauhan6711
    @mahendrachauhan6711 3 года назад +1

    I really really appreciate and thankful to you to keep is free... so much helpful for me and definitely gonna share it with geeky buddies...!

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks Mahendra 🙂👍

  • @prashanthk4457
    @prashanthk4457 2 года назад

    Hi mam can u create sum of even number using stream without using sum inbuilt function

  • @akashkeshari8927
    @akashkeshari8927 3 года назад

    while explaining, parallel stream concept, what do mean by core? memory?

  • @mohammedminhaj9903
    @mohammedminhaj9903 6 месяцев назад

    very good presentation. thanks

  • @annaporna9644
    @annaporna9644 3 года назад +2

    Nice Video, Could you please also make a video on most asked questions in microservices architecture.

    • @CodeDecode
      @CodeDecode  3 года назад

      Sure we will make it soon....

  • @sagarikadevnath2716
    @sagarikadevnath2716 2 года назад +1

    Thank You ...thank you so much for all your efforts

  • @yoshitamahajan353
    @yoshitamahajan353 4 месяца назад

    Please share link of next part of parallel stream..

  • @dasavtaryadav193
    @dasavtaryadav193 3 года назад

    Hi it's really interesting, can you please share the PPT what you are using.

  • @avitesh1904
    @avitesh1904 8 месяцев назад

    Stream.of("anshika", "akhil", "avitesh", "Radha").filter(x ->x.length() > 5).forEach(x -> System.out.println(x)); this line is giving me output but Stream.of("anshika", "akhil", "avitesh", "Radha").filter(x ->x.length() < 5).forEach(x -> System.out.println(x)); but if use < this operator , it is getting terminated why? even

  • @shikhasrivastav9208
    @shikhasrivastav9208 3 года назад +1

    I like your videos.
    Please continue making more

  • @priyankpatel6644
    @priyankpatel6644 Год назад

    Hey @codeDecode how can we typecast toArray() method

  • @devanshusharma3733
    @devanshusharma3733 3 года назад +1

    Thanks for creating knowledgeble and understanding videos🙏. If you create video on parellel stream then it help to us for cracked some complex interview.

    • @devanshusharma3733
      @devanshusharma3733 3 года назад

      I think you forgot to cover about Reduce method. Please give some knowledge in next video. Thanks 👍

    • @CodeDecode
      @CodeDecode  3 года назад

      Sure I will create video parallel streams and reduce method in upcoming videos 👍👍

  • @khemchandkolhe3
    @khemchandkolhe3 3 года назад +1

    very helpful video thanks, plz take complex examples on streams and parallel streams

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks... Sure we will cover it soon...

  • @SambitKuSahu
    @SambitKuSahu 3 года назад +1

    Thank you so much for your time and effort for making this video and putting into RUclips. The way you explain the things is very easy to understand. Thank you so much :)

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks for the motivation Sambit 👍👍🙃🙏

  • @sukunkusum1720
    @sukunkusum1720 3 года назад +1

    Hi Team Code Decode! Excellent explanation. Eagerly waiting for problems on parallel streams and optional concepts.

    • @CodeDecode
      @CodeDecode  3 года назад +1

      Sure kusum we will upload it soon

  • @akshayanishewale3225
    @akshayanishewale3225 3 года назад +1

    Thanks for such great explanation. Eagerly waiting for parallel stream.

    • @CodeDecode
      @CodeDecode  3 года назад

      Sure Akshayani we will upload it soon..

  • @anubhutidoshi8999
    @anubhutidoshi8999 Год назад

    can you please make a short video on difference between Map and flatmap

  • @emmanuelmiramonvazquez9591
    @emmanuelmiramonvazquez9591 3 года назад +1

    Thank you so much, I really appreciate your work, please a video about threads interview questions

  • @ayushyamishra8196
    @ayushyamishra8196 3 года назад +1

    Nice videos ma'am , Pls do start a series of project with Spring , Hibernate and Microservices

    • @CodeDecode
      @CodeDecode  3 года назад

      We are working on this, probably you'll see next video on this...

  • @yoursarnk
    @yoursarnk 3 года назад +1

    nice and easily explained. Eagerly waiting for the next videos on parallel streams. I think since it is single topic you can upload this video along with your Spring Boot Videos

    • @CodeDecode
      @CodeDecode  3 года назад

      That's a nice idea Arunava, we will create this one soon 👍👍

  • @TheRamanareddy
    @TheRamanareddy Год назад +1

    Brilliant mam..you are awesome blossom.

    • @CodeDecode
      @CodeDecode  Год назад

      ❤❤😍😍😍thanks 🙂🙂

  • @schaugala4017
    @schaugala4017 3 года назад +1

    Hi
    Can you please increase font size of eclipse while explaining it will be helpful while watching in mobile.
    Thanks

    • @CodeDecode
      @CodeDecode  3 года назад

      Sure. Thanks for brining this issue to our notice .will definitely keep this in mind next time. 👍👍thanks for putting light to this issue.

  • @priyankam8582
    @priyankam8582 2 года назад +1

    Can I know how to remove duplicate character from a string using stream and lambda expression

    • @CodeDecode
      @CodeDecode  2 года назад

      ruclips.net/video/aaokKp87Hoc/видео.html

  • @tirupatirao2854
    @tirupatirao2854 3 года назад +1

    Mam can you please upload PPT as well. To recollect the knowledge

    • @CodeDecode
      @CodeDecode  3 года назад

      Everything is in description

  • @harshadramekar
    @harshadramekar 3 года назад

    Please cover how to reuse the stream as well as producer and consumer problem..

  • @arjun9059
    @arjun9059 Год назад +1

    nice explanation and good effort

  • @pallemmani6726
    @pallemmani6726 Год назад

    Could you please cover parallel streams in one dedicated video?

  • @SandeepAS-ov3fk
    @SandeepAS-ov3fk Год назад +1

    thank you ...what abt parallels stream video?

    • @CodeDecode
      @CodeDecode  Год назад

      Hi Sandeep videos are lined up we will upload it soon

  • @madhushankarmj
    @madhushankarmj 3 года назад +1

    Very good explanation

  • @sureshgarine
    @sureshgarine 3 года назад +1

    hi madam, can u do a separate video in parallel streams as well

    • @CodeDecode
      @CodeDecode  3 года назад

      Sure Suresh 👍👍we will do that

  • @hrancati
    @hrancati 2 года назад +1

    very clear! thanks!

  • @cnivasrao4720
    @cnivasrao4720 2 года назад +1

    grate teaching

  • @akshayzele554
    @akshayzele554 3 года назад +1

    Please upload video with flatmap, springboot interceptors and load balancers

  • @bhargavhr8834
    @bhargavhr8834 3 года назад +1

    Waiting for next video,very good presentation

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks 👍

    • @bhargavhr8834
      @bhargavhr8834 3 года назад +1

      @@CodeDecode one more small suggestion. The order of java 8 interview questions can be changed for video 3 and video 4.

    • @CodeDecode
      @CodeDecode  3 года назад

      Sure let us check. Thanks for suggestion 👍👍

  • @SAK-y6j
    @SAK-y6j 2 года назад +1

    Excellent content

  • @punit41290
    @punit41290 3 года назад +1

    Hi can we used parallel stream in enterprise application

    • @CodeDecode
      @CodeDecode  3 года назад

      No we should not punit , as per my understanding . It's easy to convert stream to parallel stream just by parallel() or parallelStream () but it will bring a lot of overhead with it, as they use common fork - join thread pool. I will cover consequences and disadvantages of them in next video. Thanks for writing back to us 👍👍.

    • @CodeDecode
      @CodeDecode  3 года назад +1

      We should use only when certain conditions are fulfilled , which we will cover in upcoming videos, but it does come with a lot of disadvantages. It's simple to covert but comes with lot of overhead and complexities .

  • @RAJEEVKUMAR-bt5ie
    @RAJEEVKUMAR-bt5ie 3 года назад +1

    Please cover the parallel streams topic in next part so that I can get complete knowledge on it.

    • @CodeDecode
      @CodeDecode  3 года назад

      sure we'll upload it soon

  • @ajaydangi582
    @ajaydangi582 3 года назад +1

    such a nice explanation ,parallel steam pls

    • @CodeDecode
      @CodeDecode  3 года назад +1

      Thanks...will upload it soon...

  • @ashutoshkumarsingh1
    @ashutoshkumarsingh1 3 года назад +1

    you are just awesome super like👍👍

    • @CodeDecode
      @CodeDecode  3 года назад

      Thanks Ashutosh 👍👍

  • @pramodpotdar5416
    @pramodpotdar5416 2 года назад +1

    wow.... just wow

  • @shubhamnayak668
    @shubhamnayak668 3 года назад +1

    Awesome video plz cover other complex topic too

  • @nivedaravi2241
    @nivedaravi2241 3 года назад +1

    good video. helping me for interviews.

    • @CodeDecode
      @CodeDecode  3 года назад +1

      M glad it helps. We hope you land at your dream job really soon 👍👍

    • @nivedaravi2241
      @nivedaravi2241 3 года назад

      @@CodeDecode hope your words come true. No light at the end of tunnel so far. Thanks a lot.

  • @unemployedcse3514
    @unemployedcse3514 3 месяца назад

    awesome ❤

  • @ravirajsaraganachari3038
    @ravirajsaraganachari3038 3 года назад +1

    Thank you for the soo valuable containt. 🤗

  • @princearyan19
    @princearyan19 2 года назад +1

    mam comparator have compare method and compareTo method is of comparable i guess

  • @nitigyasahu8402
    @nitigyasahu8402 3 года назад +1

    Please cover parallel stream and also a spring boot project on microservice

  • @NehaKumari-cx6un
    @NehaKumari-cx6un 4 месяца назад +1

    Awesome