Page 1 of 1

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
by answerhappygod
9 What Is The Output Of The Following Code Public Class Threadwaittest Public Static Void Main String Args Syst 1
9 What Is The Output Of The Following Code Public Class Threadwaittest Public Static Void Main String Args Syst 1 (16.1 KiB) Viewed 21 times
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"); > }