Suppose there is a System A which gives some output. This
output is used as input by system B. The rate at which
System A produces is faster than the rate at which system B
consumes it. How can you improve this?
Answer / dhaval shah
Using Inter Process Thread communication use Wait Notify
and NotifyAll methods of Object class
Dhaval Shah
| Is This Answer Correct ? | 16 Yes | 4 No |
Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces.
what is synchronization and why is it important? : Java thread
Which is better list or arraylist in java?
how to accept integer array in java
What happens when heap memory is full?
How to stop a thread in java? Explain about sleep () method in a thread?
How will you load a specific locale?
Which software is used for java programming?
What is deadlock and how to avoid this?
Explain the difference between jvm and jre?
What does provide mean construction?
String class is defined under which package in java?