What are the two ways you can synchronize a block of code?
Answer Posted / popol83
I think using mutex is the second way.
Because synchronizing an object is useless
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why java is secure? Explain.
Is array synchronized in java?
How can we access some class in another class in java?
What is variable argument in java?
What is double parsedouble in java?
What's the difference between comparison done by equals method and == operator?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
Which variable is the independent variable?
can rmi and corba based applications interact ?
What is static and final keyword in java?
Is empty list java?
Differentiate between vector and array list.
How to do a true java ping from windows?
How java enabled high performance?