JavaDeploy
SiteMap
Java Certification
Java Beans
Java-OO Concepts
Threading Model
«Prev
Java Certification
Java Fundamentals
Source Files Compilation
Declare import Packages
Java main method
Identifiers Keywords
Primitive Types
Literal Values
Automatic Initialization
language-fundamentals-conclusion
Classes Objects
Object Oriented Programming
Class Interface Declarations
Subclasses Superclasses
Class Constructor Syntax
Types Of Nested Classes
Interface Use Declaration
Inner Class
Local Inner Classes
Anonymous Inner Class
Classes Objects - Conclusion
Anonymous Class - Quiz
Java Operators
Operator Summary
Logical Operators
Numeric Conversions
Casting Numeric Types
Java Casting - Quiz
Equality Testing
Assignment Operators
Order Of Evaluation.
Operator Conclusion
Declaring Java Methods
Declaring Variables
122
Exception Handling
Program Statements
Decision Making Code
for, while, do Loops
Java Break Statement
Throw Statement
try catch Block
Garbage Collection
Java Finalization
Java Statements Conclusion
Java Threading Model
Multithreading Theory
Starting Threads
Thread States
Ready to Running State
Waiting Dying Threads
Synchronized Shared Objects
Synchronization Concepts -Quiz
Waiting Notifying Threads
Preventing Thread Execution
Threading Model Conclusion
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.
Identify the two ways in which threads may be defined.
Which method is implemented by all threads and serves as a thread's entry point?
Name three thread states.
Name three conditions which may keep a thread from running.
Explain the relationship between an object's lock and its synchronized methods.