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 |
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;
what is the full form of java
What is the covariant return type?
What are uses of Hash Code?
"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0
how to handle exceptions in ejb?
What is finalize() function in java?
what are the disadvantages of indexes in oracle?
0 Answers 3i Infotech, Wells Fargo,
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
What is thread?