Threading Model   «Prev 


Threads Concepts - Exercise

Objective:Define thread concepts.

Instructions

The following questions are designed to check your understanding of threads and thread states. Read and answer the following questions. Write or paste your answers in the text areas below each question. Each question is worth 2 points. When you are finished with all questions, click Submit to submit.
  1. Identify the two ways in which threads may be defined.

  1. Which method is implemented by all threads and serves as a thread's entry point?


  1. Name three thread states.

  1. Name three conditions which may keep a thread from running.

  1. Explain the relationship between an object's lock and its synchronized methods.