Execution Time of Single Threaded ApplicationĀ | Core Java Tutorials

This “Execution Time of Single Threaded Application” page is providing program to describe execution time of java application which contains only one thread and sequential execution of thread functionality.

core-Java-online-Training-4

Execution Time of Single Threaded Application:

  • Java application is by default Single threaded.
  • Only thread executes in the application is called “main() thread”
  • If no user thread is present in the application, execution become sequential.
  • The following program prints execution time of “single threaded application in java.

core-Java-online-Training-4

Share this