Advanced Java: Threads
Offered By: LinkedIn Learning
Course Description
Overview
Learn what Java threads are, how to implement them in your Java program, and how to run, pause, interrupt, and make a thread wait for another thread.
Syllabus
Introduction
- Learning about Java threads
- What you should know
- What is concurrency?
- Processes vs. threads
- Multitasking vs. multithreading
- The main thread
- Daemon vs. non-daemon threads
- Thread class and Runnable interface
- Creating a thread: Extending the Thread class
- Creating a thread: Implementing the Runnable interface
- Starting a thread
- Extend a thread or implement a Runnable?
- Challenge: Webinar polling system
- Solution: Webinar polling system
- Pausing execution of a thread
- Interrupting a thread
- Implementing thread interruptions
- Making a thread to wait until another thread terminates
- Other useful methods of the Thread class
- Challenge: Webinar polling system
- Solution: Webinar polling system
- Next steps
Taught by
Buddhini Samarakkody
Related Courses
Algorithms, Part IPrinceton University via Coursera Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera MongoDB for Java Developers
MongoDB University Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera Intro to Java Programming
San Jose State University via Udacity