How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
Why is java called the platform independent programming language?
What are the data types supported by java?
What does system.gc() and runtime.gc() methods do?
How do you ensure that n threads can access n resources without deadlock?
When is the finalize() called? What is the purpose of finalization?
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?
Does garbage collection occur in permanent generation space in jvm?
What is a constructor, constructor overloading in java?
When is the finalize() called?
What is difference between fail-fast and fail-safe?
When does an object becomes eligible for garbage collection in java?
What is the difference between serial and throughput garbage collector?
What does the “static” keyword mean?
What is the difference between jdk and jre?