Java Interview Q&A on Multi-Threading

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • Please check out my blog(learnsimple.in) for more technical videos.
    For any java/full stack/DevOps/developer/lead positions related mock interviews assistance/Guidance/support, you can reach out me @ sivajavatechie5@gmail.com
    In this session, I explained most frequently asked Java interview questions and answers on Java Multi-Threading. This session helps you to prepare for the java interview on Multi-threading concept easily.

ความคิดเห็น • 49

  • @prudhviraj2161
    @prudhviraj2161 7 ปีที่แล้ว +5

    Sir, You Said "Thread is going to be heavy weight".. instead of "process is going to be heavy weight" at 0:41 sec ... please overcome small mistake.. Good video very much useful...

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  7 ปีที่แล้ว +1

      Thanks for the correction. Will take care of it in future.

    • @dhanrajtijare9961
      @dhanrajtijare9961 5 ปีที่แล้ว

      Thread is heavy weight but sometimes it is light weight that what he means

  • @Aryabarta-ghxy
    @Aryabarta-ghxy ปีที่แล้ว

    Great explanation and nice audio and pronounciation !!!

  • @manubabu8547
    @manubabu8547 5 ปีที่แล้ว +1

    Very very good work sir, I appreciate all you Hard work, your videos are helping me and many of my friends to prepare for interview in very short time, please add more videos of advance multi Threading API's.
    Thanks again

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  5 ปีที่แล้ว

      Thanks Manu. I will upload requested videos soon. Stayed tuned. Please refer our TH-cam channel to your friends circle as it might be helpful for them. Happy Learning.

  • @nibeditapattnaik6008
    @nibeditapattnaik6008 6 ปีที่แล้ว +2

    Nice explanation. Very helpful for interview preparation. Thanks!

  • @sunilkhandodiya7671
    @sunilkhandodiya7671 6 ปีที่แล้ว +5

    I think you said wrong about join, Join is to ensure that spawned thread join the main thread before proceeding further. If there are 100 thread and you make join call then still those 100 thread run in parallel but join ensure that they get completed before your main process.....

  • @shreyanshjain2347
    @shreyanshjain2347 7 ปีที่แล้ว +2

    Thank you so much for this excellent video. very informative and helpful. thanks again.

  • @deepak123417
    @deepak123417 7 ปีที่แล้ว +2

    You Should provide examples u explained time slicing and Thread pool, example will give us more clarity and also use eclipse to try multiple options.... its just a suggesion

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  7 ปีที่แล้ว

      Agree with you. Basically this video helpful for the candidates who are preparing for the interviews and they already should have the background on multi threading. I uploaded serious of videos on multi-threading in detail with examples: Here is the URL: th-cam.com/video/GfY5i4zCyro/w-d-xo.html

  • @tubepankajyou
    @tubepankajyou 3 ปีที่แล้ว

    Nicely explained

  • @deepak123417
    @deepak123417 7 ปีที่แล้ว +3

    Siva, good work, I hope you remember me, Deepak Bhardwaj , gud time spent in Yodlee, My request is to post videos on concurrent APIs

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  7 ปีที่แล้ว +1

      Deepak- Yeah.Will post videos on concurrent API's soon. Will connect you over the FB.

  • @rajkumarmeena5974
    @rajkumarmeena5974 5 ปีที่แล้ว +1

    Thanks , very well defined

  • @subramanianchenniappan4059
    @subramanianchenniappan4059 4 ปีที่แล้ว +1

    thanks

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  4 ปีที่แล้ว

      Thanks Subramanian. Please refer our TH-cam channel to your friends circle as it might be helpful for them. Happy learning.

  • @unbiased-review
    @unbiased-review 6 ปีที่แล้ว

    Very nice explanation sir.

  • @sirigiris5062
    @sirigiris5062 7 ปีที่แล้ว

    hi siva.thanks. if u call run() directly existing stack only method will be placed. if call start () new call stack will be created

  • @pathanrauf
    @pathanrauf 4 ปีที่แล้ว

    Hi Siva, can you please share the prepared stuff which you are showing into the video.

  • @aykarageorge
    @aykarageorge 3 ปีที่แล้ว

    Isn't the join() in Thread used to hold off other thread executions until the currently executing thread is finished? it was written that 'join() is used for the currently running thread to die'.

    • @80sudha
      @80sudha 2 ปีที่แล้ว

      Yes, u r correct.

  • @ManishKumar-sv5my
    @ManishKumar-sv5my 4 ปีที่แล้ว

    wait() and notify() methods are not methods of Thread class. These methods are present in the Object class.

  • @shreyanshjain2347
    @shreyanshjain2347 7 ปีที่แล้ว

    Hi Siva, you mentioned thread scheduler is responsible for scheduling the threads and then it's request to CPU. so my question is, CPU is only responsible for the making thread run? or it's only the thread scheduler. Please Clarify.

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  7 ปีที่แล้ว

      Shreyansh - Yes you are correct. Thread scheduler responsibility is to delegate thread to CPU, now CPU execute the thread based on its availability.

  • @pratyushkashyap7544
    @pratyushkashyap7544 6 ปีที่แล้ว

    FYI... wait(), notify() and notifyAll() methods belongs to Object class not the Thread class

  • @RaghuKumar-ew7tf
    @RaghuKumar-ew7tf 7 ปีที่แล้ว

    thank u bro

  • @RaghuKumar-ew7tf
    @RaghuKumar-ew7tf 7 ปีที่แล้ว

    please make video on struts 1.3 interview questions

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  7 ปีที่แล้ว

      Raghu - I will upload video on struts 1.3 interview questions. Please stay Tuned.

  • @saeedalam2510
    @saeedalam2510 5 ปีที่แล้ว

    what is demon thread:)

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  5 ปีที่แล้ว

      Demon thread is a helper thread for the user threads. Example - Garbage collector is a demon thread.

  • @nirmitsrivastava
    @nirmitsrivastava 7 ปีที่แล้ว +1

    very poor. it is better to read or watch from some credible source.

  • @AbhishekSharma-yq3jn
    @AbhishekSharma-yq3jn 5 ปีที่แล้ว

    please be more clear on your answer

  • @mehtabmehdi5046
    @mehtabmehdi5046 6 ปีที่แล้ว

    v v fast, u r reading from some book..

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  6 ปีที่แล้ว

      Hi Mehtab, If I don't explain fast, it may take at least 2 hours+ to cover all the Q&A :). No reading from the book and explanation comes from my experience. :)

  • @samirvb
    @samirvb 4 ปีที่แล้ว

    Very very Poor ! No proper thought process or clear explanation.

  • @berkk1993
    @berkk1993 5 ปีที่แล้ว

    is this english?

  • @mehtabmehdi5046
    @mehtabmehdi5046 6 ปีที่แล้ว

    V BAD EXPLAINATION

    • @SivaReddyJavaTechie
      @SivaReddyJavaTechie  6 ปีที่แล้ว

      Thanks for your feedback. Please do suggest your suggestions to improve my explanation.

  • @maheshgaliboina6721
    @maheshgaliboina6721 6 ปีที่แล้ว

    Thanks