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.
2135Post New NCR Java Related AllOther Interview Questions
Elaborate the plinq?
what is the use of server manager?
What is agent directive in jenkins?
What is Media Manager?
what u want to join banking sector,as u have an experience of life insurance for 5 years
What is use of object spy?
What do you understand by modular programming?
I am a civil engineer . I am also selected for sbi clerk interview which is to be held on 4th May2010 is there anybody resembling the same? what question can be asked and what should be the probable answers?
What is called in angular?
What is built-in function?
What software languages have you used to design, develop, and debug software application interfaces?
test cases for compose functionality of gmail
Tell the location of Asia`s largest solar park.
Can you use Razor code in Javascript in ASP.Net MVC?
What is disadvantage of context filters?