Single Threaded Application in Java | Core Java Tutorials

This “Single Threaded Application in Java” is providing information about ‘Types of threads in java’ and how a single threaded application executes along with its flow.

core-java-online-training-2

Thread Applications:

  • Java supports 2 types of Thread applications.
    1. Single Threaded Application
    2. Multi Threaded Application

 

Single Threaded Application:

  • When we invoke java application, JVM implicitly creates a thread is called Main thread’.
  • In single threaded application, execution starts at Main and ends at Main.
  • One Thread space can have ‘n’ number of method spaces to execute the thread logic.
  • All the methods of single thread executes sequentially.

Share this