ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

Can a method be static and synchronized?

A static method can be synchronized. If you do so, the JVM will obtain a lock on the java.lang.Class instance associated with the object.

 

Related Posts Plugin for WordPress, Blogger...
Flag Counter