9. What is the output of the following code? public class ThreadWaitTest { public static void main(String() args) { Syst
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
9. What is the output of the following code? public class ThreadWaitTest { public static void main(String() args) { Syst
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"); > }
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!