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 java thread dump, how can we get java thread dump of a program?
What is an inner class in java?
What is percentage in java?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
Can we have a method name same as class name in java?
What is a Hash Table? What are the advantages of using a hash table?
What is an 8 bit word?
Explain java code for recursive solution's base case?
What is the difference between ArrayList and Vector? which one is better in Java
What is a list in java?
If an object is garbage collected, can it become reachable again?
What is the difference between heap memory and stack memory?
What is the gregoriancalendar class in java programming?
What do you mean by ternary operator in java?
what is inner class in java?