class public Test
{
private int counter;
public synchronized change()
{
counter++;
}
public change2()
{
synchronized(this){
counter--;
}
}
}
Can we call change and change2 at the same time?