Yorkville High School Computer Science Department
Yorkville High School Computer Science Department on Facebook  Yorkville High School Computer Science Department Twitter Feed  Yorkville High School Computer Science Department on Instagram

Yorkville High School Computer Science

ASSIGNMENTS: No Current Assignments

Network Programming :: Projects :: Thread Demo

Rubric
Lesson
Due: Database Error

Problem

Create a short Java program that demonstrate your understanding of threads in Java. While the program does not have to be connected to your proposed network application, it wouldn't be a bad idea to write something you could use for that project. You can even expand on your I/O demo if you'd like. Your project must include the following features:

  1. A Runnable thread or a subclass of Thread
  2. Return information from a thread using a callback
  3. Return information from a thread using the ExecutorService
  4. Utilize synchronized blocks or methods
  5. Schedule threads
  6. Pool threads