Is java a framework?
No Answer is Posted For this Question
Be the First to Post Answer
Explain main thread under thread class execution?
What is a context in java?
What is java persistence api used for?
Is php faster than java?
What is loose coupling in java?
What is the use of entity class in java?
Is java Class Thread safe ???? How to make java Class Thread safe ??
Why is class forname used in java?
Iam working as a Project Lead in a s/w comp.The follwing question was asked in HCL interview. What about the schedule slippage? If the developer has taken more time than the specified time. How do you adjust the time? From where do you allocate that extra time for the developer?
What is lambda expressions action func and predicate?
Can a dead thread be started again?
In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.