Java Interview Q&A on Multi-Threading

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

Siva Reddy

Siva Reddy

Күн бұрын

Пікірлер: 49
@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
@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
@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.
@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 жыл бұрын
Thank you so much for this excellent video. very informative and helpful. thanks again.
@SivaReddyJavaTechie
@SivaReddyJavaTechie 7 жыл бұрын
thanks Shreyansh jain :)
@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.
@rajkumarmeena5974
@rajkumarmeena5974 6 жыл бұрын
Thanks , very well defined
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thank you Rajkumar.
@tubepankajyou
@tubepankajyou 3 жыл бұрын
Nicely explained
@pathanrauf
@pathanrauf 5 жыл бұрын
Hi Siva, can you please share the prepared stuff which you are showing into the video.
@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.
@unbiased-review
@unbiased-review 6 жыл бұрын
Very nice explanation sir.
@SivaReddyJavaTechie
@SivaReddyJavaTechie 6 жыл бұрын
Thanks.
@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.
@ManishKumar-sv5my
@ManishKumar-sv5my 4 жыл бұрын
wait() and notify() methods are not methods of Thread class. These methods are present in the Object class.
@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.
@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.
@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 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.
@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.
@RaghuKumar-ew7tf
@RaghuKumar-ew7tf 7 жыл бұрын
thank u bro
@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 6 жыл бұрын
is this english?
@adipratapsinghaps
@adipratapsinghaps 6 жыл бұрын
Maybe Berkish
@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.
Hibernate Interview questions and answers
45:21
Siva Reddy
Рет қаралды 82 М.
Java Interview Q&A on Exception Handling
16:25
Siva Reddy
Рет қаралды 20 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
3 testing tips you need to know...
7:04
Nuno Maduro
Рет қаралды 674
Deadlock in Java Multithreading
9:13
learnby bhanu
Рет қаралды 32 М.
Java Concurrency Interview Question: How to timeout a thread?
10:45
Top 25 Microservice Interview Questions Answered - Java Brains
39:54
Why OCaml
1:06:40
Jane Street
Рет қаралды 124 М.
Class Loaders in java
19:16
Siva Reddy
Рет қаралды 31 М.