Hello Guys, Today I am going to give you good opportunity to crack Java / J2EE interview at HCL (Hindustan Computers Limited).
Please read this questions carefully.
Here some question might be tricky or logical
So Let us start.
- Tell me something about your self
- They may ask about projects on which you have worked
- What is Thread, what are the different way to create thread?
- Can I make run method as synchronized ?
- If I delete java.util package, and still I want to use List functionality, then how can I do it, give basic idea
- What is difference between Set, List and Map
- How to stop running thread ?
- Can interface have constructor ?
- Difference between Application Server and Web Server
- How to call super class method which is override by derived class using derived class Object?
- What is cluster server?
- If My application is deployed on multiple server and every server has their on cash, and now if one server update data in database and refresh their own cash, then what will be the value in another server cash ?
- How to resolve Cashing issue in load balanced server ?
- When does GC (Garbage Collector) call
- How to force system to call GC
- Can I run GC on some specific time (ie. everyday at 4:00 PM) ?
- What is the use of Lazy initialization in hibernate?