what is the main differene between synchronize() method and
Synchronize{}block?
Answer Posted / rupak
Synchronize{}block is use to Synchronize the block of
statements.
synchronize() keyword is useful to synchronize an entire method.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is array list in java?
Is string passed by reference in java?
Which programming language is most secure?
What is the common usage of serialization?
How do you implement polymorphism in our day to day life?
Define a java class.
What is the use of beaninfo?
Explain jdk, jre and jvm?
What is function and method in java?
What do you mean by append?
How to create packages in java?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is meant by 'Class access modifiers'?
When do we use hashset over treeset?
What is user defined exception in Java?