What does the keyword "synchronize" mean in java. When do you use it?
What are the disadvantages of synchronization?
Synchronize is used when u want to make ur methods thread safe. The disadvantage of synchronise is it will end up in slowing down the program. Also if not handled Category:Java Interview Questions
No comments:
Post a Comment