Java Concurrency & Multithreading Complete Course in 2 Hours | Zero to Hero | Interview Questions
ฝัง
- เผยแพร่เมื่อ 2 ก.ค. 2024
- In this video , I have covered all the important concepts related to Multithreading and Concurrency in Java , covering some of the very important interview questions like synchronization , volatile keyword , producer consumer pattern , deadlocks etc.
00:00:00 - What to expect in the Course?
00:02:26 - Multitasking
00:06:00 - Difference between Thread and a Process
00:10:28 - Threads in Java
00:12:50 -The Main Thread
00:15:33 - Thread Creation in Java
16:31 - Extending Thread Class to create a Thread
24:30 - Implementing Runnable
28:30 - Deep Diving into the Thread Class
00:39:19 - Synchronization in Java
40:26 - Race Condition and Introduction to Concurrency
41:39 - Synchronization Demo with Stacks (Synchronized Methods and Synchronized Blocks)
52:44 - Using Objects as Locks
1:02:09 - Synchronization in Static Methods
1:03:45 - Rules of Synchronization
1:05:55 - Race Condition
1:06:55 - Thread Safety
01:07:20 - The Volatile Keyword
01:10:46 - Using the Volatile Keyword in Singleton Design Pattern
01:14:45 - Producer Consumer Problem (Designing a Blocking Queue) (Introducing wait() and notify())
01:31:45 - Thread States and Thread Transitions
01:36:17 - Running and Yielding of a Thread
01:37:20 - Sleeping and Waking Up of a Thread
01:39:07 - Waiting and Notifying of a Thread
01:42:28 - Thread Timed Out
01:43:36 - Interruption of a Thread
01:44:00 - Thread Joining
01:48:19 - Thread Priority
01:49:56 - Thread Scheduler
01:52:12 - Deadlocks
01:53:57 - Create a Deadlock in Java. (Interview Question)
01:57:03- Support my Content
🔴 Connect with me on Instagram - / code.blooded.voyager and ask me doubts 1:1. Would try to reply to each one of you.
🔴 Full Collections Framework Crash Course in One Video : • Master Java Collection...
🔴 Join My Telegram Channel for Placement Updates - telegram.me/riddhi_dutta
🔴 Connect with me on LinkedIn - / riddhi-dutta
🔴 Connect with me on Twitter - / rite2riddhi
🔴 Complete Java Developer roadmap - • How to Master Java A-Z...
🔴 Complete DSA Syllabus for cracking Product Based Companies : • How to start DSA from ...
🔴 My DSA Revision Strategy : • How to revise DSA for ...
🔴 My Low Level Design Preparation Strategy : • How to prepare Low Lev...
🔴Graph Placement Series From Scratch - • Graphs - The Ultimate ...
🔴 Low Level Design and Design Pattern Series - • Low Level Design & Des...
🔴 My Company Review Series - • How to Crack Atlassian...
🔴 Amazon SDE Revision Sheet - • Video
🔴 Link to my TopicWise SDE Sheets Playlist : • Trees SDE Coding Probl...
Tags
#java #javaprogramming #riddhiduttajava #javadeveloper #javadevelopment #javatutorial #spring #backenddeveloper #multithreadinginjava #multithreading #concurrency #javaconcurrency#backendwebdevelopment #collections #collectionframework
java concurrency
java concurrency and multithreading
java multithreading tutorial
java multithreading interview questions
java multithreading project
multithreading in java
multithreading interview questions in java
multithreading in os
java threads tutorial
java thread life cycle
java thread synchronization
java thread interview questions
java concurrency tutorial
java collection framework
java collection framework course
java collection framework crash course
java tutorial for beginners
java full course
how to learn java
java developer
java developer interview
java developer roadmap
java developer course
java developer work in company
java developer interview questions
java developer salary
java developer jobs for freshers
java developer interview questions for freshers
java developer skills needed
java developer interview questions for 2 years experience
java developer full course
java developer roadmap 2022
java developer salary in india
java developer roadmap 2023
java in programming language
java in project
java projects
java projects for beginners
java programming
java programming for beginners
java programming full course
java programs for practice
java projects with source code
java interview questions and answers
how to learn spring boot step by step
how to learn spring framework in java
how to learn spring
how to learn spring boot
dependency injection spring boot
@configuration in spring boot
how to learn spring boot from scratch
how to learn spring framework
java backend development tutorial
java backend
java backend developer
java backend projects
java backend developer full course
java backend tutorial
java backend developer interview questions
java backend roadmap
java backend course
java backend developer skills
java backend interview questions
java backend web development
Not a JAVA Dev but the topic of multithreading always made curious, never found so detailed explanation anywhere on YT. The way you explained thread class, object locks & sync was next level.
Thank you
Few advanced things like Executor Framework , Thread Pool , Atomic Integers would cover in a separate video later.(depends on this video's engagement)
Pls cover these topics as well...also streams
Please do , must do
@Riddhi Dutta Pls cover advance topic also I really loved this content.
Pls make the next video for advanced concepts
please make videos on these
Very solid work dude. Thanks for taking the time to go over all this. As a 10 year node dev at a big tech company, this was a great java primer. Covering executors would be awesome.
Awesome, concept cleared here! After 7 years of reading multithreading here and there. Big Thanks Bro!
Basically the content of three lectures explained in one. Thanks mate!
This is good. 2 hours with most helpful information. You talk fast. If you wouldn't have talked fast, then I would have increased the speed.
This is systematic. The examples are not too simple and you you cover the topic nay you go deeper into it by expalining JVM mechanisms. You know your stuff.
This is really helpful for many Java developers. I haven't found such well done videos about threads on Oracle pages or anywhere else. Thank you.
Thank for starting the series on Java. Looking forward to many more videos from you ☺️
A surprized video on Multithreading, never thought as learner I will understand so much in details with program. Thanks for deadlock details situation and how to resolve it .
no one has elaborated Multithreading in this way. This is really awesome.
Amazing content. Best Multithreading video I have watched so far. Great work.
Excellent Course! Very well structured. Thanks a lot!
ABSOLUTELY BEAST MODE EXPLANATION! SOLID!
I've never seen such easy explanations of these concepts❤. Thanks a bunch! :)🙏
Completed the entire video last night. Will watch it a few more times to clear up some of the concepts. Crystal clear explanations!
🥺🙏
super sir. Literally the multithreading topic was very interesting & have learned lot from this for interview. Thank you!
bhaiya maza aaagya hai ksam se, thread using class and using runnable interface got me hooked to you honestly.
Great job!
Hello Riddhi,
Greetings form Germany. I have an exam at my university in a few days and this was the most helpful video I could find about this topic. Great work, keep it up! I would really like to see these kind of videos for the topics Generics/Wildcards and Sockets/Streams aswell.
Deep Diving into Thread Class chapter is Awesome. You explained in a easy words.
Amazing work buddy. You made really complex topic a piece of cake. Thank you so much buddy. Keep up the good work.
Finally found most of the thing in one video. Thanks for sharing in detailed way.
This is the real teaching which impacted my understanding and that is what I was searching for. I have a huge expectation from this channel please do post explanation of similar important topics.
Really appreciated and grateful to get such a content on Multi threading. Please get some more content on Executor framework, Thread schedulers, Thread pooling, various locking mechanisms, etc.
Also it would be good if you show some differences between sleep and wait method, start and run method which will imprint all the concepts well in the mind.
Thanks a lot again !!
Love the energy, passion and way you explain. Pure gem!
Thanks aditya.
You have explained a complex topic in such a simpler way. Thanks !!
This was genuinely the best content I have seen on this topic. Thanks for this Riddhi.
Best lecture on this topic that I have seen for a while.
This is one of the best videos I have seen about multi-threading, thank you for making such an awesome video. You have great passion in explaining such complex topics and it's a great learning experience to watch your video!
Made my day. Thanks
The way you just explained every detail behind, dude, you are made for this !!! 10/10 fr.
For this single video alone, you deserve a million subscribers!
this is a great tutorial , crisp and concrete . Waiting for a video with more advance topics of multi threading
I have an interview coming up regarding concurrency. This stuff was really helpful! Well explained, great job!
I'm really impressed how you explain abstract topic like multithreading in such an easy way. Keep up the good work 👌
Thanks man.
I have learned java tutorials earlier from various sources but the way riddhi bhaiya explained is magnificent🔥 top notch content and i've learned multithreading earlier but i'm unknown about lot of internal workings of java concepts.Thanks Bhaiya for making these quality contents yield() such contents regularly😅 .
Best ever video on multithreading I'd say.
Bro, I appeared for an interview where a lot of questions I would have answered if I had watched this video. Thanks for fabulous content.
Such an in-depth Explaination. Thank you !!🙂
Awesome lecture indeed. Very well explained. The only missing part in multithreading which I could think of is JAVA Lock API, which is sometimes asked in interviews as well.
thanks a lot @Riddhi now i cleared all doubts of multithreading hoping more and more video lectures in future
Great explanation and thanks for showing this concept with code implementation
Need a advanced multithreading video too. This was too good🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
As a newbie to this topic I can't tell how well the video is, but indeed it will be really helpful in understanding it deeply since the knowledge and effort you put is 5/5. Thanks
Thanks for explaining this complex concept in such an easy way
One of the best tutorials on multithreading. 🙌
Wonderful explanation, really the best video on Java Concurrency.
You really Made threading topic simple Thanks for your help.
Lambdas Next. :)
Greatt
@yadneshkhode3091
0 seconds ago
Please keep making such videos later on also make a video on how to use IDE intellij or eclipse
how to add jar files / connect to github etc and other stuff 1 video to cover everything that you do on day to day basis using IDE @rite2riddhi
Thanks Man! This is Gold!
Explained concept in details , Thanks for this,Now i will watch other JAVA tuts too.
Great Explanation for such a tricky topic. Thank you for such Detailed Content..!
A very good detailed video you can watch to start..👏🏻
very good video. good to cover concepts like java synchronizers like semaphore and stuff. thanks for your video.
Very Clear explanation.
You Made it easy to understand😃
Thankyou
Amazing video man thanks a lot!
Really thanks a lot, Riddhi! Waiting for more java videos.
great video. Hoping on more advanced vids.
Great explanation with examples. Thanks for helping so many learners....
Finally, the wait is over...thanks for coming up with the multi threading course
More to come!
Awesome work.
Learnt a lot from your video. Thank you so much for creating such a great video!!
Thanks! Learned a lot!
Simply awesome!!!!
Wonderful, Thanks Ridhi
Nice tutorial, thank you!
Well explained and easy to grasp.
Great Video. Thank you for sharing
Informative, best video, keep them coming.
I really loved the way you taught these concepts. Please keep coming up with such mini-courses that can help us crack SDE1 Java backend roles.
Also, please consider making a video on reactive programming (spring boot web flux) in Java in the future.❤️💯
Thank you. Will do.
+1
Very informative video and very easy to understand, thank you
Great explaination , examples , Great work Team
Bhaiya Respect from bottom of my heart for such premium content..!!
Excellent work
Thanks :) Learned a lot!
Great tutorial, thx!
Awesome content!!
I generally don't comment, but this video was very good. I learned a few new things! Thanks!
Thanks, brother !! 😚
Very informative, Thank you
Your videos are always a lot helpful
Great :) I learned many basic things related to threading clearly,
1) mainly object locking- how it works - common object lock across functions will block all those functions for other threads
2) static method lock
3) use of lambda to create runnable Impl ()-> {}
4) why to use While loop in threading instead of if - when used with wait, notify
5) Internal Impl high level details of Thread and Runnable class
6) Deadlock simple example program
7) synchronized method vs block- difference and how lock works in them
8) and some more like functions wait, notify, notifyAll, join, sleep, thread states
Please consider to make advanced threading concepts Part 2 video, Part 3 video
You can also share the code you used for Demo purpose during this video
very informative video..each part is explained with a practical example..thanks a lot for this tutorial 😍...please cover advanced topics as well.
Nice video.
Keep on making such videos.
Really helpful.
This has been very helpful in my preparations for exams ✨
Great Explanation !! You have explained a complex topic in such a simpler way. Thanks !! Please cover advance topics such as Executor Framework as well.
Nice; easy to understand multi threading via this video
woww this was super informative , thanks man
Awesome!!!
thanks a lot sir for this playlist it's too good same as graph was
The best thing happened this Sunday!!! 🙌🙌 Starting this right away...
😊
Thanks a lot sir... Precise and clean explanation.
My favorite video after your DSA Pattern and LLD video
🥺
This is so damn goood riddhi. Its just perfect. Waiting for new Java videos
Thnaks for your effort to make this video
Your teaching style is top-notch, learn a lot from this video.
Thank you
Riddhi Dutta, very very BIG THANKS!
Thank you for such awesome videos🤓
Awesome content 👏 👌 👍🏻
I'll really want you to do a lot more videos on difficult topics like this.
One of the best multithreading explanation 😇
Awesome content sir.
GOne through lot of video on multi threading but they way you cover is the section "Deep diving into the thread" was awesome thanks for creating such video
Thank you
currently learning c++ with dsa in 1 year
will learn java through this video in my 2 year .
great video 👍