Answer Posted / 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 |
Post New Answer View All Answers
What is static variable with example?
What are multiple inheritances?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Can an interface have a constructor?
How do you get the length of a string in java?
Is java good for beginners?
What's the purpose of using break in each case of switch statement?
What are the ways to instantiate the class class?
What are scalar data types?
Is there a case when finally will not execute?
What is arguments in java?
Why do we need hashset in java?
can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread
What is the purpose of the return statement?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?