Monday, January 01, 2007

If volatile why synchronized ?

Did you you have this question in mind????
ok, they are really different mate......

Have a look at the Java Language specification (JLS).

http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#36930

No comments: