In the first case the
thread acquires the lock on the currently executing object i.e. 'this'. BTW it's 'synchronized' not 'Syn...'.
In the second case you can have code that is both thread safe and thread unsafe (if I may call it so) un the same method, moreover you can specify the object whose lock you want to acquire (by replacing the 'this' keyword with it).