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.
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...
Thanks for the correction. Will take care of it in future.
Thread is heavy weight but sometimes it is light weight that what he means
Great explanation and nice audio and pronounciation !!!
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
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.
Nice explanation. Very helpful for interview preparation. Thanks!
Thanks Nibedita.
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.....
Correct
Thank you so much for this excellent video. very informative and helpful. thanks again.
thanks Shreyansh jain :)
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
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
Nicely explained
Siva, good work, I hope you remember me, Deepak Bhardwaj , gud time spent in Yodlee, My request is to post videos on concurrent APIs
Deepak- Yeah.Will post videos on concurrent API's soon. Will connect you over the FB.
Thanks , very well defined
Thank you Rajkumar.
thanks
Thanks Subramanian. Please refer our TH-cam channel to your friends circle as it might be helpful for them. Happy learning.
Very nice explanation sir.
Thanks.
hi siva.thanks. if u call run() directly existing stack only method will be placed. if call start () new call stack will be created
Thanks Sirigiri.Yes, I agree with you.
Hi Siva, can you please share the prepared stuff which you are showing into the video.
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'.
Yes, u r correct.
wait() and notify() methods are not methods of Thread class. These methods are present in the Object class.
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.
Shreyansh - Yes you are correct. Thread scheduler responsibility is to delegate thread to CPU, now CPU execute the thread based on its availability.
FYI... wait(), notify() and notifyAll() methods belongs to Object class not the Thread class
Yes Pratyush. I agree with you.
thank u bro
please make video on struts 1.3 interview questions
Raghu - I will upload video on struts 1.3 interview questions. Please stay Tuned.
what is demon thread:)
Demon thread is a helper thread for the user threads. Example - Garbage collector is a demon thread.
very poor. it is better to read or watch from some credible source.
please be more clear on your answer
v v fast, u r reading from some book..
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. :)
Very very Poor ! No proper thought process or clear explanation.
is this english?
Maybe Berkish
V BAD EXPLAINATION
Thanks for your feedback. Please do suggest your suggestions to improve my explanation.
Thanks
Thanks Mahesh.