Java Interview Q&A on Multi-Threading

  Рет қаралды 83,260

Siva Reddy

Siva Reddy

Күн бұрын

Пікірлер: 49
@aykarageorge
@aykarageorge 4 жыл бұрын
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 3 жыл бұрын
Yes, u r correct.
@pathanrauf
@pathanrauf 5 жыл бұрын
Hi Siva, can you please share the prepared stuff which you are showing into the video.
@sunilkhandodiya7671
@sunilkhandodiya7671 6 жыл бұрын
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.....
@baibhavghimire3827
@baibhavghimire3827 6 жыл бұрын
Correct
@Aryabarta-ghxy
@Aryabarta-ghxy Жыл бұрын
Great explanation and nice audio and pronounciation !!!
@prudhviraj2161
@prudhviraj2161 7 жыл бұрын
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 жыл бұрын
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
@deepak123417
@deepak123417 7 жыл бұрын
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: kzbin.info/www/bejne/fZe8Zpxqr6isqNE
@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.
@manubabu8547
@manubabu8547 5 жыл бұрын
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 KZbin channel to your friends circle as it might be helpful for them. Happy Learning.
@nibeditapattnaik6008
@nibeditapattnaik6008 6 жыл бұрын
Nice explanation. Very helpful for interview preparation. Thanks!
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thanks Nibedita.
@rajkumarmeena5974
@rajkumarmeena5974 6 жыл бұрын
Thanks , very well defined
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thank you Rajkumar.
@saeedalam2510
@saeedalam2510 6 жыл бұрын
what is demon thread:)
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Demon thread is a helper thread for the user threads. Example - Garbage collector is a demon thread.
@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.
@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 жыл бұрын
Thank you so much for this excellent video. very informative and helpful. thanks again.
@SivaReddyJavaTechie
@SivaReddyJavaTechie 7 жыл бұрын
thanks Shreyansh jain :)
@unbiased-review
@unbiased-review 6 жыл бұрын
Very nice explanation sir.
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thanks.
@tubepankajyou
@tubepankajyou 3 жыл бұрын
Nicely explained
@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
@SivaReddyJavaTechie
@SivaReddyJavaTechie 7 жыл бұрын
Thanks Sirigiri.Yes, I agree with you.
@pratyushkashyap7544
@pratyushkashyap7544 6 жыл бұрын
FYI... wait(), notify() and notifyAll() methods belongs to Object class not the Thread class
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Yes Pratyush. I agree with you.
@deepak123417
@deepak123417 7 жыл бұрын
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 жыл бұрын
Deepak- Yeah.Will post videos on concurrent API's soon. Will connect you over the FB.
@nirmitsrivastava
@nirmitsrivastava 7 жыл бұрын
very poor. it is better to read or watch from some credible source.
@maheshgaliboina6721
@maheshgaliboina6721 7 жыл бұрын
Thanks
@SivaReddyJavaTechie
@SivaReddyJavaTechie 7 жыл бұрын
Thanks Mahesh.
@AbhishekSharma-yq3jn
@AbhishekSharma-yq3jn 5 жыл бұрын
please be more clear on your answer
@RaghuKumar-ew7tf
@RaghuKumar-ew7tf 7 жыл бұрын
thank u bro
@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. :)
@berkk1993
@berkk1993 6 жыл бұрын
is this english?
@adipratapsinghaps
@adipratapsinghaps 6 жыл бұрын
Maybe Berkish
@samirvb
@samirvb 4 жыл бұрын
Very very Poor ! No proper thought process or clear explanation.
@mehtabmehdi5046
@mehtabmehdi5046 6 жыл бұрын
V BAD EXPLAINATION
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thanks for your feedback. Please do suggest your suggestions to improve my explanation.
@subramanianchenniappan4059
@subramanianchenniappan4059 4 жыл бұрын
thanks
@SivaReddyJavaTechie
@SivaReddyJavaTechie 4 жыл бұрын
Thanks Subramanian. Please refer our KZbin channel to your friends circle as it might be helpful for them. Happy learning.
Java Interview Q&A on Exception Handling
16:25
Siva Reddy
Рет қаралды 20 М.
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
Java Multithreading Interview Questions
24:56
in28minutes
Рет қаралды 328 М.
Java Interview Questions and Answers on HashMap
16:47
Siva Reddy
Рет қаралды 21 М.
Class Loaders in java
19:16
Siva Reddy
Рет қаралды 31 М.
When to use Abstract class and When to use Interface in Java
20:04
Hibernate Interview questions and answers
45:21
Siva Reddy
Рет қаралды 82 М.
threading vs multiprocessing in python
22:31
Dave's Space
Рет қаралды 598 М.
Java Exception Handling Interview Questions and Answers
32:21
in28minutes
Рет қаралды 92 М.