Multithreading in Java erklärt: So machst du dein Programm schneller! (In 15 Min)

Multithreading isn't easy, but it's a very exciting topic. In this video, I'll show you what multithreading in Java is all about and how to work with threads correctly in Java. ... 0:00 Introduction 0:09 Multithreading: Theory 2:05 Creating a Thread - Method 1 4:16 Thread.sleep() - Creating a Counter 5:20 Creating a Thread - Method 2 7:20 Presentation of a Practical Example 8:06 Practical Example - ThreadMaker 10:02 Practical Example - Main Program 12:50 Thread.sleep() vs. thread.join() 14:38 Challenge for You 15:06 Information 📚You might also be interested in: Exceptions in Java:    • Exceptions in Java (try-catch-finally, thr...   Java Streams Tutorial:    • Java STREAMS Tutorial - Java Programmieren...   Generics in Java for Advanced Users:    • Generics in Java: ALLE Konzepte in 20 min ...   🌟Here's another short explanation of Multithreading: With multithreading, we simply want to enable our program to perform multiple tasks simultaneously! Our main program (the main thread) then works together with many other threads. Multithreading simply means improving the performance of our program by running multiple threads at the same time. You can think of a thread as its own little "mini-program" where the code runs in parallel to the main program. I'll show you exactly how to create and start threads in this video. 🚀 Learn #Java in a playlist - https://bit.ly/3GKMucx Threads in Java can seem complicated at first... but I'm sure you'll understand them anyway! :) My respect to you if you participate alongside the #tutorial and try the challenges! Then you'll really internalize multithreading in Java! Let me know in the comments if this video helped you better understand threads and multithreading! ``` 👾 Code from the tutorials: https://github.com/Jonas-Keil/learn-java ============ 🔔 Subscribe so you don't miss any more videos: https://www.youtube.com/c/JonasKeil?s... ============ 📢 Link to the Discord community:   / discord   ============ 🎉 If you enjoy my videos, support me on Patreon:   / jonaskeil   ▬👇🏻Helpful Links👇🏻 ▬▬▬▬ 1. Java IDEA 💻 from the videos: https://www.jetbrains.com/de-de/idea/... 2. Links to my equipment 🛠: https://kit.co/JonasKeil/studio-setup 3. Music 🎶 from all tutorials: https://www.epidemicsound.com/referra... 4. Java books 📚 that I can recommend: https://kit.co/JonasKeil/die-besten-j... ▬✨About this channel✨ ▬▬▬▬ Are you a student or pupil and want to learn Java, but don't know where to start? Then you've come to the right place! On this channel, you'll find a guide that will help you learn Java step by step as a beginner. I know it's not always easy, and I'll do my best to explain everything as clearly as possible :) Have fun!! Jonas Keil❤ #Programming #Java PS: Some of the links in this description are affiliate links, from which I receive a commission :)