we have two threads..both the threads are reading the
data.. is there any need of synchronization
there?...justify it?
Answer Posted / sridhar
In this case synchronization is not requied because u r not
going to change the data.
U can use synchronization but performence will decrease.
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
What is the difference between this() and super() in java?
Explain OOPs concept.
What is hashing principle in java?
What is json parser in java?
What are the java ide's? Explain
What is difference between path and classpath in java?
What is a void method?
How to connect to a remote database using Applet?
How do I convert a string to an int in java?
How does thread synchronization occurs inside a monitor?
Can private class be extended java?
Differentiate between overriding and overloading cases?
What are constructors in java?
What does || mean in vectors?
Why does java not support pointers?