Timestamps for the implementation part. Skip to these directly if you know the basics. 17:51 getID() 18:30 getName() 19:32 setName() 21:04 sleep() 24:29 getPriority() 25:24 setPriority() 26:41 join() 28:05 important tip 30:51 isAlive()
Sundeep, I guess you should have rather not used t.sleep, as sleep is a static function as you told and now you are accessing that function via an object? It will work but it's not the convention. All the best, good teaching, I am learning from you.
Timestamps for the implementation part.
Skip to these directly if you know the basics.
17:51 getID()
18:30 getName()
19:32 setName()
21:04 sleep()
24:29 getPriority()
25:24 setPriority()
26:41 join()
28:05 important tip
30:51 isAlive()
Thanks bro
U had done a great job bro 👍
Amazing teaching skills like WNROOM
WILL NOT RUN OUT OF MIND.
Your way of explaining is detailed and impressive. Thank you for the amazing content and keep up the good work! :D
Ur teaching is very good comparing the others.Keep uploading more videos 👌
NICE SUPER EXCELLENT MOTIVATED
what a way of explaination👏👏 very good👍
A big thanks for u sir.thank so much
💯💯💯
Awesome sir ❤❤❤
Sir please make a seperate vedio for collection too in java....
Thankyou sir.
Thank you sir....
Great explanation ✨
Thank you sir
Loved your videos
Thanku so much sir
Suprb explanation 🥰
nice explanation sir but why we are using Thread t= currentThread();
Bcoz we are creating object that why he has written Thread t=currentThread(); but it can also be written as Thread t= newThread()
Sundeep, I guess you should have rather not used t.sleep, as sleep is a static function as you told and now you are accessing that function via an object? It will work but it's not the convention. All the best, good teaching, I am learning from you.
thank you. sir.. i doubt Is clear
Tq sir. 👌👌
sir! we don't know which thread will be going to execute first and next then what is the use of priority sir.
Can you please explain Java JDBC.
Can you share any pdf of this concept sir pls?? In waiting for your answer...
Sir u said join is static method but here u used object to call join method instead of using class name, can u pls explain
when two threads are created and performing run method it is printing twice an you explain in detail?
I have also same doubt....can explain sir?
Hii sir
In the above program we get getId() value as 8 so how we got that 8 that is my dought so plese say
i was waiting for u r answer
Hi
That Id will be given by system.
Sir... Join() is static
. So why should we using object to acees it
Sir please make a another video on user defined exception
In this coding, what do sleep method sir?I can't understand.we use sleep method but no changes in our output..please explain me sir..
Hey, the sleep function will stop the execution for some time, and once the time completes it continues its execution.
Sir gow to use when there are 3 or 4 Threads
hi sir, please provide the array concepts
Jai lbrce😎😎😎😎✌😃😃
join () is not the static method
I have one doubt sir,we are extending the Thread from Th then where is the Th class sir?
Thread class will be available in lang package
how did we get ID as 8?
sir total how many tutorial videos are there in java?
Sir what is thread...
Why do we write sleep () and join () in try - catch block
Because exceptions will be raised when calling these methods
why thread id is 8
How thread I'd is 8
sir can u please post the code in comment section?? please someone keep the code here
Please open gate cse coaching online
Multiple threading example not explained well.