What will be the output of the following program?
public class Waiting {
public static void main(String[] args) {
System.out.print("1 ");
synchronized (args) {
System.out.print("2 ");
try {
args.wait(); //LINE M
}
catch (InterruptedException e) { System.out.println("4 "); }
}
System.out.print("3 ");
}
}