How to create a method that will be accessed by only one thread of execution at the same time?
1
Expert's answer
2010-09-13T11:50:50-0400
You have to mark this method with the keyword «synchronized». That will ensure that 2 or more processes will not use this method simultaneously.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment