Java Multithreading


Multithreading:

                To run a program simultaneously using the same memory will call it as multithreading. 

                JVM will allocate which thread to run a job

Life Cycle of a Thread:
New -> Runnable -> Runnning -> Blocked -> Terminated

Methods:
Start()
Run()
Stop()
Sleep()
Notify()
notifyAll()
yield()
join()


Comments

Popular posts from this blog

How to set Java Object into JaxBElement ?

GitLab