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.
1693Post New NCR Java Related AllOther Interview Questions
What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?
What is public-key cryptography ?
Explain different types of Caching techniques in ASP.NET?
How do I send an image using ajax?
Is java swing deprecated?
I want to apply for the universities in US,but i got the GRE score of (650+300=950)TOEFL 69/120.Is this score sufficient for applying universities please i am married i need to go to US because my husband didn't get H1 yet.please send me suggestion
plz send me HPCL apptitude paper.. maulik_elect@yahoo.co.in
what do you think are your strengths and weaknesses?
Have you built any components with actionscript? If so explain how you did it? : adobe flex action script
Tell me what are the different types of navigation commands?
What is dynamic in c#?
What are offsetting columns in bootstrap 3 grid system?
What is the difference between a catalog and a database?
What are some of the important spring annotations you have used?
Tell me can an individual take two policies and claim for both of them? : insurance sales