i could not get the locking concept clearly. please somone explain me by taking this prg as example
until synchNonStat1 method completes ,
thread t1 can't enter into synchNonStat2 method. but in between these two,
1. is there any chance of calling nonsynchNonstat1 method?
2. is there any chance of invoking nonsynchNonstat2 method while executing the nonsynchNonstat1 method