search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
16 views
asked Geek 15.3k points 14 39 58

1 Answer

0 votes
Synchronized methods are methods that are declared with the keyword synchronized. A thread executes a synchronized method only after it has acquired the lock for the method's object or class. Synchronized statements are similar to synchronized methods. It is a block of code declared with synchronized keyword. A synchronized statement can be executed only after a thread has acquired the lock for the object or class referenced in the synchronized statement.
answered Guru 39.1k points 10 21 31

Related questions

0 votes
1 answer 15 views
15 views
asked john Guru 27.1k points 31 47 92
0 votes
1 answer 19 views
19 views
asked sara Guru 24.6k points 29 51 75
0 votes
1 answer 13 views
13 views
asked rajesh Guru 39.1k points 10 21 31
0 votes
1 answer 15 views
15 views
asked smith Geek 15.3k points 14 39 58
0 votes
0 answers 54 views
54 views
asked smith Geek 15.3k points 14 39 58
...