Biology Forums - Study Force

Science-Related Homework Help Computer Studies Topic started by: Nica on May 5, 2020



Title: Which of the following statements are true?
Post by: Nica on May 5, 2020
Which of the following statements are true?

▸ A synchronized statement can be used to acquire a lock on any object, not just this object, when executing a block of the code in a method.

▸ A synchronized instance method acquires a lock on the class of the object for which the method was invoked.

▸ A synchronized instance method acquires a lock on the object for which the method was invoked.

▸ A synchronized statement is placed inside a synchronized block.


Title: Which of the following statements are true?
Post by: joanamet on May 5, 2020
Content hidden