When do we use synchronized blocks and advantages of using synchronized blocks?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Are strings immutable in java?

0 Answers  


When should we create our own custom exception classes?

0 Answers  


What is update method called?

0 Answers  


My interview asked what is dynamic variable in java and where we use them.

2 Answers   IBM,


How does enum work in java?

0 Answers  


what is actual real time using of oops concepts in projects(Interface,polymorphism.abstraction.........)

2 Answers  


what is difference between throw and throws in exception?

48 Answers   Spenco,


What does it mean that strings are immutable?

0 Answers  


What is a resource leak ?

1 Answers  


What is high level language in computer?

0 Answers  


what is mean by method signature?

8 Answers   Satyam,


Can we have two methods in a class with the same name?

0 Answers  


Categories