What happens when a thread cannot acquire a lock on an object in java programming?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

how to create daemon thread in java?

0 Answers  


What is a double vs float?

0 Answers  


33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac

5 Answers  


Can a lock be acquired on a class in java programming?

0 Answers  


Explain the difference between string, stringbuffer and stringbuilder in java?

0 Answers  






Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

0 Answers  


What is polymorphism java example?

0 Answers  


What is internal variable?

0 Answers  


What is the difference between Stream Reader and Stream Writer?

4 Answers  


What is the Set interface?

2 Answers  


what is platform independence in java?

5 Answers   CSC, HSBC,


Can a class be subclass of itself?

4 Answers  


Categories