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.
2062Post New NCR Java Related AllOther Interview Questions
HI FRNDS, I HAVE 2.5 years OF exp In Manual Testing,Plz let me know if thr r any oppurtunities in any company in Bangalore ID:dsnithi@gmail.com Thanks in Advance
What is encapsulation in java?
What are the available windows controls list?
What is underfitting?
Explain at what voltage does land line telephone operate?
When load balancing to a real server, which server will be accessed first?
What is the jdbc rowset?
Do you know what is load?
What are the features provided by actionscript 3.0?
Where the data structures are used?
Explain the term entity in dbms?
How to Execute a program from my application?
Explain In-process inspection.
At high frequencies, what is the type of noise that becomes of great importance. Explain the use of a delayed ECG?
What are different clauses used in sql?