Documente Academic
Documente Profesional
Documente Cultură
encupsations nothing but binding the data and behaviour into single class
abstraction nothing but exposing the functionality but not the implemetations.
means u know the structure of class but u dnt know the functioning of class
wait method indefinite amount of time untill the another thread going to notify
wait method have the dependancy for nofify the other thread.
Deadlock: Deadlock is a situation when two threads are waiting for each other and
the waiting is never ends. Here both threads cant completes their tasks.
In Starvation, threads are also waiting for each other. But here waiting time is
not infinite after some interval of time, waiting thread always gets the resources
whatever is required to execute thread run() method.
Thread Pool
Lambda Functions:
================