What is synchronization? How it can be achieved?

Answers were Sorted based on User's Feedback



What is synchronization? How it can be achieved?..

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

What is synchronization? How it can be achieved?..

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

Post New Answer

More Core Java Interview Questions

What is a concrete classes? Is Java object class is concrete class?

0 Answers   Infosys,


How do you square a number in java?

0 Answers  


What is the use of arraylist in java?

0 Answers  


How to split arraylist elements in java?

0 Answers  


Ducking is automatic in checked exception?True or false

2 Answers  


How to calculate the length of a singly linked list in java?

0 Answers  


What is int argc char * argv?

0 Answers  


What are advantages and disadvantages of OOPs?

0 Answers   Amdocs,


What is null object in java?

0 Answers  


What are passing parameters?

0 Answers  


Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

0 Answers  


What are the java ide’s?

0 Answers  


Categories