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 / ejp
Throwing the exception exits the synchronized{} block so
that answer doesn't actually add anything.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How the metacharacters are different from the ordinary characters?
Can an interface extend another interface?
What are desktop procedures?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
Describe the term diamond problem.
Explain exception chaining in java?
What is the difference between preemptive scheduling and time slicing in java programming?
What do you understand by garbage collection in Java? Can it be forced to run?
What are the advantages of assembly language?
What are variable names?
how does multithreading take place on a computer with a single cpu? : Java thread
List some important features of java 10 release?
What is consumer in java?
Define locale.
Explain tree set and its features?