what is synchronization
Answers were Sorted based on User's Feedback
Answer / surya simhadri
Synchronization is the process of allowing only one thread
at atime on a shared resource. It is like a monitor on a
shared resource.It can be done either 'Block level'
or 'Method level'. Before enter in to the synchronized area
the thread shold get the lock on the method or block object.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / reddy
Two or more threads trying to access the same method at same
point of time leads to Synchronization.If that method is
declared as synchronized,only one thread can access at that
time of another thread can access that method only if the
first thread task is completed.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sonam sharma
synchronization is a process in which only one thread
executes at a time.when one thread release the resources
then other thread used the resources.if one thread not
release the resources till that time other thread not uses
the resources.
| Is This Answer Correct ? | 2 Yes | 1 No |
can we write program without class
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
Can we convert list to set in java?
Write a program to create a binary Tree ?
How can i add a button in applet in java ???
Can we serialize arraylist in java?
Is array a class in java?
What is audio clip interface? Name few methods of it ?
How do you remove duplicates in java?
What does percent mean in java?
i need to know the site which compiles and run the java program completely in online... thank you for your reply in advance
please send me hr interview questions in it industry