(Java multithreading) Two ways of defining a Thread (By Extending Thread class) by Durgasir

  Рет қаралды 134,610

Durga Software Solutions

Durga Software Solutions

Күн бұрын

Пікірлер
@AadityaKavthekar
@AadityaKavthekar 4 жыл бұрын
Important Point told by Durga Sir: "We should go for multiThreading when there are independent jobs present!"
@anilkumarmishra6335
@anilkumarmishra6335 3 жыл бұрын
I dont't have word about this super man of java
@rdgames00
@rdgames00 7 жыл бұрын
Best Explanation i have ever had on threads..... Nice
@vkhooda24
@vkhooda24 10 жыл бұрын
You really doing best.Very very thankful for your these classes for overseas programmer like me..:) Thanks Sir.
@Astra2391
@Astra2391 2 жыл бұрын
Great explanation Plz extend class ThreadDemo as , Class ThreadDemo extends Mythread else that t.start() shows C.E
@rohitkr.maurya6917
@rohitkr.maurya6917 7 жыл бұрын
You explanation is very very good, its in systematic way, beginner can also understand..thanks a lot sir
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 7 жыл бұрын
Hi Rohit. Thank you very much for your feedback
@adi807980
@adi807980 8 жыл бұрын
Sir, your tutorial is so easy to understand.. thank you so much. god bless you.. :-)
@rocker31590
@rocker31590 9 жыл бұрын
Your way of teaching is Awesome.. Thanks a lot..
@rocker31590
@rocker31590 9 жыл бұрын
Durga Software Solutions I've watched all of your 42 Collection videos, those was really amazing.. Going to watch other Java videos which are in your Durga Software Solutions. Thanks again
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
prabakar .u View other videos on ADV JAVA click the below link kzbin.info/www/bejne/bmTNfaSKdsekh7c
@rocker31590
@rocker31590 9 жыл бұрын
Sure
@monaananda
@monaananda 9 жыл бұрын
I have become a fan of your style of explaining things.Sir please post video on java design patterns.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Shweta Kumar Demo Sessions on youtube, Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas, Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68, Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68.
@k42p3r
@k42p3r 9 жыл бұрын
You explained it very well, step by step!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Kasper F View other videos on Collections in Java and click the below link kzbin.info/www/bejne/qHqWh55_qahjm6M
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions Hi, We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP" are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed. For Demo Sessions Please call or drop a mail to us... DURGASOFT Online Training ph: 91-8885252627 mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com Demo Sessions on youtube: 1. Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas 2. Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68 3. Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68 durgasoft.com durgasoftonlinetraining.com facebook.com/durgasoftware durgajobs.com facebook.com/durgajobsinfo
@princevijaypratap6025
@princevijaypratap6025 9 жыл бұрын
aanand aaa gyiiiiii sir lol !!!! thnks very much
@gajendraramsetty3836
@gajendraramsetty3836 6 жыл бұрын
Naresh it is the best institute for java
@AbhishekKumar-oy2hw
@AbhishekKumar-oy2hw 7 жыл бұрын
superb explanation sir..Thanks..
@atiqulny
@atiqulny 9 жыл бұрын
No one can teach java like this guy!! I call him Java Preacher (if can Java be a religion) !!!
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
New York Junky View other videos on Collections in Java and click the below link kzbin.info/www/bejne/qHqWh55_qahjm6M
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 42 videos on Collections in Java, kzbin.info/www/bejne/qHqWh55_qahjm6M View 5 videos on JSF, kzbin.info/www/bejne/qHLEYqqtjLGqZ7s View 50 videos on Oracle, kzbin.info/www/bejne/pomYiH2ZqdNmgdk View 35 videos on Hibernate, kzbin.info/www/bejne/iYubkpWHaNugmsU View 115 videos on Data Structures, kzbin.info/www/bejne/pXKkmnWHe7h4n80 View 58 videos on Struts, kzbin.info/www/bejne/pIrUpKGofaymh8k View 74 videos on Spring, kzbin.info/www/bejne/j6HWd4drZdKnntU View 41 videos on CRT, kzbin.info/www/bejne/nHW1n36GrtuFZ5Y View 12 videos on JAVA Reflections API & Annotations kzbin.info/www/bejne/eKmmqGOrid2NiNU View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate, kzbin.info/www/bejne/n3zRk2N3nLCNgJI
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions Hi, We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP" are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed. For Demo Sessions Please call or drop a mail to us... DURGASOFT Online Training ph: 91-8885252627 mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com Demo Sessions on youtube: 1. Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas 2. Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68 3. Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68 durgasoft.com durgasoftonlinetraining.com facebook.com/durgasoftware durgajobs.com facebook.com/durgajobsinfo
@VijayVerma-uq1pk
@VijayVerma-uq1pk 8 жыл бұрын
very clearly explain...thank u
@medhatsabrytechstamina5426
@medhatsabrytechstamina5426 8 жыл бұрын
Very good intro.
@ashraftaha4350
@ashraftaha4350 8 жыл бұрын
Thanks it's very useful..
@pranithhkrish1757
@pranithhkrish1757 8 жыл бұрын
thnkx for d vedio, helped me sir.
@deepakpanda1210
@deepakpanda1210 9 жыл бұрын
There are not all the videos in Generic Topic. Please upload that again . And in collections also Map topic is not available. Please upload them.
@pallabsarkar5765
@pallabsarkar5765 8 жыл бұрын
very helpful video.thank you sir,
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 8 жыл бұрын
Hi Pallab Sarar welcome.
@prasadbidwai6793
@prasadbidwai6793 6 жыл бұрын
You are yow of java
@shaminmohammed6157
@shaminmohammed6157 9 жыл бұрын
Thanks a Trillion Sir. please expand to SWING
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
shamin mohammed Hi, We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP" are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed. For Demo Sessions Please call or drop a mail to us... DURGASOFT Online Training ph: 91-8885252627 mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com Demo Sessions on youtube: 1. Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas 2. Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68 3. Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68 durgasoft.com durgasoftonlinetraining.com facebook.com/durgasoftware durgajobs.com facebook.com/durgajobsinfo
@karthik2439
@karthik2439 10 жыл бұрын
Each and every process that runs on the computer has a CPU cycle and an I/O cycle. What is an operation without data? Transfer of data between devices is an I/O cycle whereas the actual computation on data is a CPU cycle. Since the CPU is comparatively very fast than the I/O, the CPU often sits idle most of the time when processes are on I/O cycle. Hence the concept of time-slicing came into picture so that the CPU can shuffle between processes/threads to achieve maximum throughput. So at any given time, even though only one process/thread is active,but it appears as if all the processes/threads are running simultaneously. This is because the processor is superfast and shuffles the tasks in the blink of an eye.
@sophiewhiteside3175
@sophiewhiteside3175 8 жыл бұрын
great video! have you got a video on join() and sleep() as well?
@MohammadWasimKhan
@MohammadWasimKhan 9 жыл бұрын
Awesome.. Thanks a ton :)
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Mohammad Wasim Khan View 42 videos on Collections in Java, kzbin.info/www/bejne/qHqWh55_qahjm6M View 5 videos on JSF, kzbin.info/www/bejne/qHLEYqqtjLGqZ7s View 50 videos on Oracle, kzbin.info/www/bejne/pomYiH2ZqdNmgdk View 35 videos on Hibernate, kzbin.info/www/bejne/iYubkpWHaNugmsU View 115 videos on Data Structures, kzbin.info/www/bejne/pXKkmnWHe7h4n80 View 58 videos on Struts, kzbin.info/www/bejne/pIrUpKGofaymh8k View 74 videos on Spring, kzbin.info/www/bejne/j6HWd4drZdKnntU View 41 videos on CRT, kzbin.info/www/bejne/nHW1n36GrtuFZ5Y View 12 videos on JAVA Reflections API & Annotations kzbin.info/www/bejne/eKmmqGOrid2NiNU View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate, kzbin.info/www/bejne/n3zRk2N3nLCNgJI
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@sudiptamaity9864
@sudiptamaity9864 9 жыл бұрын
Very well explained.Thanks for the nice video. I have one doubt ...what did you mean by 'thread scheduler depends on jvm and it varies jvm to jvm' ? Does it mean thread scheduler is different in jvm of winodws and in jvm of linux ?
@arjungoalset8442
@arjungoalset8442 10 жыл бұрын
you the best :)
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Arjun goalset View 42 videos on Collections in Java, kzbin.info/www/bejne/qHqWh55_qahjm6M View 5 videos on JSF, kzbin.info/www/bejne/qHLEYqqtjLGqZ7s View 50 videos on Oracle, kzbin.info/www/bejne/pomYiH2ZqdNmgdk View 35 videos on Hibernate, kzbin.info/www/bejne/iYubkpWHaNugmsU View 115 videos on Data Structures, kzbin.info/www/bejne/pXKkmnWHe7h4n80 View 58 videos on Struts, kzbin.info/www/bejne/pIrUpKGofaymh8k View 74 videos on Spring, kzbin.info/www/bejne/j6HWd4drZdKnntU View 41 videos on CRT, kzbin.info/www/bejne/nHW1n36GrtuFZ5Y View 12 videos on JAVA Reflections API & Annotations kzbin.info/www/bejne/eKmmqGOrid2NiNU View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate, kzbin.info/www/bejne/n3zRk2N3nLCNgJI View other videos on ADV JAVA kzbin.info/www/bejne/bmTNfaSKdsekh7c
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions Hi, We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP" are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed. For Demo Sessions Please call or drop a mail to us... DURGASOFT Online Training ph: 91-8885252627 mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com Demo Sessions on youtube: 1. Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas 2. Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68 3. Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68 durgasoft.com durgasoftonlinetraining.com facebook.com/durgasoftware durgajobs.com facebook.com/durgajobsinfo
@reddymadhu5206
@reddymadhu5206 7 жыл бұрын
super sir
@SagarKhilari
@SagarKhilari 7 жыл бұрын
Excellency....
@vipulyadav4117
@vipulyadav4117 9 жыл бұрын
lot of thanks sir
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
vipul yadav View 42 videos on Collections in Java, kzbin.info/www/bejne/qHqWh55_qahjm6M View 5 videos on JSF, kzbin.info/www/bejne/qHLEYqqtjLGqZ7s View 50 videos on Oracle, kzbin.info/www/bejne/pomYiH2ZqdNmgdk View 35 videos on Hibernate, kzbin.info/www/bejne/iYubkpWHaNugmsU View 115 videos on Data Structures, kzbin.info/www/bejne/pXKkmnWHe7h4n80 View 58 videos on Struts, kzbin.info/www/bejne/pIrUpKGofaymh8k View 74 videos on Spring, kzbin.info/www/bejne/j6HWd4drZdKnntU View 41 videos on CRT, kzbin.info/www/bejne/nHW1n36GrtuFZ5Y View 12 videos on JAVA Reflections API & Annotations kzbin.info/www/bejne/eKmmqGOrid2NiNU View 39 videos on Java Real Time Project Implementation on Spring,Struts & Hibernate, kzbin.info/www/bejne/n3zRk2N3nLCNgJI
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Durga Software Solutions View 9 videos on ENUM, kzbin.info/www/bejne/imLJfoqtfp53Z6c View 16 videos on Serialization, kzbin.info/www/bejne/mHrdl6Wsmdlqp68
@pawannamdev2385
@pawannamdev2385 9 жыл бұрын
Runnable is the interface where only 1 method but Thread class lot of methods. So thread is class is much better than Runnable interface?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Pawan Namdev Demo Sessions on youtube, Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas, Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68, Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68.
@kranthivulpe6485
@kranthivulpe6485 9 жыл бұрын
+Pawan Namdev if we extend Thread class, there is no chance of extending any other class, but if we implement Runnable interface we can extend some other class also.Hence implemeinting runnable is better
@AnilChauhan-kw2qh
@AnilChauhan-kw2qh 10 жыл бұрын
How to be used daemon thread Sir plz rply
@pawannamdev2385
@pawannamdev2385 9 жыл бұрын
What is the internal working of Static Synchronized, I didn't get your tutorial related this.
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
Pawan Namdev Hi, We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP" are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed. For Demo Sessions Please call or drop a mail to us... DURGASOFT Online Training ph: 91-8885252627 mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com Demo Sessions on youtube: 1. Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas 2. Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68 3. Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68 durgasoft.com durgasoftonlinetraining.com facebook.com/durgasoftware durgajobs.com facebook.com/durgajobsinfo
@solomonyalew4410
@solomonyalew4410 5 жыл бұрын
how to stop execution of thread after some output?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 5 жыл бұрын
Hello Solomon. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28
@prasadwankar9783
@prasadwankar9783 6 жыл бұрын
Sir what if I start the thread by t1.run() instead of using t1.start()
@kaleemmohammed4785
@kaleemmohammed4785 8 ай бұрын
No new thread will be created, run method will be executed just like a normal method call, and all execution will be Done by only thread that is main
@saurabhsingh8567
@saurabhsingh8567 10 жыл бұрын
sir awt,swing,i/o,file handling,string ?
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 9 жыл бұрын
***** Hi, We are very Happy to say Our Expert Faculty Durga Sir's One-to-One Video Sessions on "Core Java with SCJP/OCJP" are available. Shooted from direct Class Room. YOu can access these videos from anywhere anytime. Around 200+ hours training, 178 Videos with clear explanation on every concept. 100% Satisfaction and Perfection in Subject guaranteed. For Demo Sessions Please call or drop a mail to us... DURGASOFT Online Training ph: 91-8885252627 mail :durgasoftonline@gmail.com, durgasoftonlinetraining@gmail.com Demo Sessions on youtube: 1. Language Fundamentals(16 Videos)kzbin.info/www/bejne/m4W7lWtvqZ2hnas 2. Operators & Assignments(7 Videos)kzbin.info/www/bejne/Z3uqgIOeft6bd68 3. Flow Control(6 Videos)kzbin.info/www/bejne/jmfVhGyseZ5gp68 durgasoft.com durgasoftonlinetraining.com facebook.com/durgasoftware durgajobs.com facebook.com/durgajobsinfo
@saurabhsingh8567
@saurabhsingh8567 9 жыл бұрын
Sir thanks
@prashantvani8416
@prashantvani8416 6 жыл бұрын
Why do we need to overide the thread class
@DurgaSoftwareSolutions
@DurgaSoftwareSolutions 6 жыл бұрын
Hello Prashant Vani. Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627,7207212427/28
@himats7195
@himats7195 6 жыл бұрын
Sir, y is it t.start()and not t.run()
@bhagyasudhir1060
@bhagyasudhir1060 6 жыл бұрын
Start().. calls to the run () ..run() belongs to thread class ..thread class pointing to mythread class.actually in main method ..we can create the child class object ..that object attached to the predefined class object..mythread t=new mythread(); Thread t1=new thread(t); Here thread class object attached to the mythread class object reference as a parameter. Then t.start() method class the run()
@siddharthgautam5074
@siddharthgautam5074 7 жыл бұрын
thnx sir
@gajendraramsetty3836
@gajendraramsetty3836 6 жыл бұрын
Please, never say durga means java , java na favourite subject
@karthik2439
@karthik2439 10 жыл бұрын
Both threads will not be executed simultaneously. With so many years of teaching experience, if you cannot even understand this, you are doing a bad job by sending out the wrong message to a lot of budding programmers.
@binayakgshankar9188
@binayakgshankar9188 9 жыл бұрын
can you elaborate please that in which sequence multiple threads are executed?? if not simultaneously then..
@ajaykumar-sb8kf
@ajaykumar-sb8kf 9 жыл бұрын
karthik deepak Watch the whole video before criticising about it and showing off ur knowledge. He even gave a example to show that threads are executed in a order which does not remain the same and hence the output is unpredictable and the order of execution is controlled by thread schedular. Since it appears to be simultaneous to us he used that word.
@cuteevaishu6909
@cuteevaishu6909 6 жыл бұрын
mayur koli super fast processor😂
(Java multithreading) Introduction and multitasking & types of multitasking by Durgasir
12:48
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
#86 Multiple Threads in Java
11:30
Telusko
Рет қаралды 153 М.
Differences between String  and StringBuffer
7:57
DURGA EDUCATION
Рет қаралды 547 М.
THREAD LIFE CYCLE - JAVA PROGRAMMING
9:21
Sundeep Saradhi Kanthety
Рет қаралды 174 М.
Explain about System.out.println();
8:27
DURGA EDUCATION
Рет қаралды 382 М.
Java Tutorials || Java OOPS  || Java Inheritance || by Durga Sir
1:16:42
Durga Software Solutions
Рет қаралды 106 М.
Core Java || Object Creation Process in JAVA by Nagoor Babu sir
31:31
Durga Software Solutions
Рет қаралды 27 М.
STOP Learning These Programming Languages (for Beginners)
5:25
Andy Sterkowitz
Рет қаралды 728 М.
Core Java with OCJP/SCJP: Multi Threading Part-1 || Introduction
1:00:20
Durga Software Solutions
Рет қаралды 1 МЛН