9. What is the output of the following code? public class ThreadWaitTest { public static void main(String() args) { Syst
Posted: Fri May 20, 2022 1:30 pm
9. What is the output of the following code? public class ThreadWaitTest { public static void main(String() args) { System.out.print("1"); synchronized(args) 1 System.out.print("2"); try args.wait(); 1 catch(InterruptedException e)) 1 System.out.print("3"); > }