×

Genuine Coder's video: Java Multithreading Tutorial for Beginners 2: Why do we need multiple threads

@Java Multithreading Tutorial for Beginners #2: Why do we need multiple threads ?
In this chapter, we will talk about the requirement of Threads. Threads require some extra handling/coding and changes in your program code. Then why should we use it ? We will create a single Java Swing based application and will see the effect of running a complex loop in main thread. When we run processor intensive code on main thread, the processor will not be available for GUI rendering. This will cause application to not respond to user interactions and thereby cause crashes. We will see how using a simple thread we could get rid of the application freezing. We have 2 threads in this application. 1. Main thread 2. Thread that computes the sum from 1..N You can find the source code of this chapter in the following GitHub repository. https://github.com/afsalashyana/Java-Multithreading-Tutorial Website:- https://www.genuinecoder.com

109

10
Genuine Coder
Subscribers
21.9K
Total Post
194
Total Views
666.1K
Avg. Views
11.5K
View Profile
This video was published on 2019-02-17 22:10:57 GMT by @Genuine-Coder on Youtube. Genuine Coder has total 21.9K subscribers on Youtube and has a total of 194 video.This video has received 109 Likes which are lower than the average likes that Genuine Coder gets . @Genuine-Coder receives an average views of 11.5K per video on Youtube.This video has received 10 comments which are lower than the average comments that Genuine Coder gets . Overall the views for this video was lower than the average for the profile.Genuine Coder #Multithreading #GenuineCoder #Java has been used frequently in this Post.

Other post by @Genuine Coder