Java Interview Question for Experience Developer

  1. HashMap internal implementation in full detail, what if hashcode() method returning constant value. Is there any enhancement in Java 8 and Java 9 for HashMap ?
  2. What is volatile, what is difference b/w volatile and static variable,when volatile variable fails ?
  3. Singleton design pattern in detail and where it fails and what is the remedy for that to handle that failure to make it singleton?
  4. AtomicInteger and how it works internally.

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *