What is synchronization? How it can be achieved?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
synchronization is the process of allowing only one thread
at a time.It's been achieved by marking the method as
synchronized or locking a particular portion of code
| Is This Answer Correct ? | 7 Yes | 5 No |
Answer / sainaveen
Synchronization is a mechanism used to control multiple
threads from accessing shared resources, if multiple
threads access shared resources there might be a chance for
one thread to change the shared values of another thread
leading to errors
| Is This Answer Correct ? | 6 Yes | 8 No |
What is data type example?
If goto and const is reserve words than why it is not work in java?
What is core java used for?
Hey buddy.. can you please tell me about the use of marker interface? And is there any link between marker interface and factory methods? Thanks in advance.
What is sizeof () operator?
When do we need to use internal iteration? When do we need to use external iteration?
Class A extends Class B but Class A also inherit Super Class Object so it is multiple inheritence give reason in support of your answer
How an object is serialized in java?
What is a method header?
What is Java exception handling?
heavy components means what?
What is nan inf?