Advanced Core Java Interview Questions for Senior developers
- What are classloaders and different types of class loaders in java?
- What is BootStrap class loader and how does it works?
- What is Extensions class loader and how does it works?
- What is application class loader and how does it works?
- When an object becomes eligible for garbage collection?
- Who performs garbage collection?
- When does garbage collector run?
- Which algorithm garbage collector uses to perform garbage collection?
- List out different garbage collection algorithms?
- Can we force JVM for garbage collection?
- How to request jvm to perform garbage collection operation?
- Explain the purpose of finalize method in relation to Garbage collection?
- How many times finalize method is called on an Object?
- Once an object is garbage collected can it become reachable again?
- How to write a code that makes an object eligible for garbage collection?
Thank You.
No comments:
Post a Comment