A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project


What is Multithreading?

What is Thread?

Before discussion of multithreading, we should learn what is thread?..

  • Thread is not a program.

  • Every java program has at least one thread i.e. main thread and this main thread created by the JVM(Java Virtual Machine).

  • Thread are light weighted and independent.

  • Threads share common memory area or same address space.

  • In the java all the Threads are produced and handled by the java.lang.Thread class Package.

  • We can executes multiple threads simultaneously.

What is Multithreading

  • Multithreading is a feature of java language in which programmer are allowed for concurrent execution of two or more threads for maximum utilization of CPU.