sorry for the above incompleted topic. i want to ask , if we synchronize like
synchronized(obj)
{
statements
}
what does it mean? is there any advantage doing like this instead
of declaring a method synchronized. can threads on other objects enter the code? please reply.
thanks in advance.
srividya.