Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Advanced Java: Threads

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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
1. Java Threads and Concurrency Overview
  • What is concurrency?
  • Processes vs. threads
  • Multitasking vs. multithreading
  • The main thread
  • Daemon vs. non-daemon threads
2. Creating and Starting a Thread
  • 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
3. Methods of the Thread Class
  • 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
Conclusion
  • Next steps

Taught by

Buddhini Samarakkody

Reviews

Start your review of Advanced Java: Threads

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.