Objects or references which of them gets garbage collected?
No Answer is Posted For this Question
Be the First to Post Answer
What isan abstract class and when do you use it?
What is the use of arraylist class in java?
What is a class ?
what is servlet enginee?
What is difference between static and final?
What is method overloading and method overriding?
What does @override mean?
How many bytes is double?
Why transient variables wont participate in serialization?
What is a line separator in java?
What is cloneable interface?
Hi Friends, I am beginner in java. what i know about synchonized keyword is,If more that one 1 thread tries to access a particular resource we can lock the method using synchronized keyword. Then after that how the lock is released and how next thread access that.Please explain with example.