Java Threading Interview Questions and Answers

Java supports single-thread as well as multi-thread operations. A thread is a program’s path of execution. Most programs written today run as single thread, causing  problems s when multiple events or actions need to occur at the same time A single-thread program has a single entry point (the main () method) and a single exit point.

Threads can be created by using two different mechanisms:

Extending the Thread class

Implementing the Runnable Interface

Scroll to Top