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 |
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac
Explain the difference between call by refrence and call by value?
What is the importance of static variable?
What is static method with example?
what modifiers are used with top-level class?
What is the purpose of using break in each case of switch statement?
What is a double?
how to run ecllipse with jettyserver for windows environment using batch file
What modifiers can be used with a local inner class?
Explain the difference between the Boolean & operator and the && operator?
Can arraylist hold different types java?
What is substring in java?