Hi Friends, I am beginner in java. what i know about
synchonized keyword is,If more that one 1 thread tries to
access a particular resource we can lock the method using
synchronized keyword. Then after that how the lock is
released and how next thread access that.Please explain with
example.
Answer Posted / jitu
ok i agree with u ejp
wat abt this ??
thread invokes wait() method..
is holding remains in synchronized block or it exists.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is e in java?
What is the size of int?
What does n mean in java?
Which sorting is best in java?
Explain about core java?
What is the public method modifier?
What is a map? What are the implementations of map?
How are this() and super() used with constructors in java programming?
Which command from the jdk compiles a java program?
What is an object in java?
What do you mean by mnemonics?
what r advatages of websphere? & how to deploy?
Is an object null?
How do you clear an arraylist in java?
Why are the methods of the math class static?