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
Why java is said to be pass-by-value ?
Where are register variables stored?
What is character in data type?
Is there any sort function in java?
How do you calculate roots in java?
What is consumer in java?
Describe the Big-O Notation.
What are internal variables?
Explain all java features with real time examples
Is c better than java?
Why is stringbuffer called mutable?
Is main a keyword in java?
What is the purpose of the System class?
What is hash table in java?
How do you reverse a string in java without using string buffer?