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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between static and non-static methods in java.

825


Difference between abstract and concrete class ?

797


How can we achieve thread safety in java?

927


What are use cases?

758


When is an object subject to garbage collection?

800


What is logical variable?

750


What are the parts of a method?

767


How will you compute size of a structure?

814


What are the advantages of unicode?

797


What is a return in java?

815


How do you remove duplicates from an array in java?

738


Write a code to create a trigger to call a stored procedure

751


Is string a class in java?

749


What is void keyword?

878


Explain restrictions for using anonymous inner classes?

860