Blog Archives

03: 7 Things you must know about Java locks and synchronized key word

7 Things you must know about Java locks and synchronized key word summarizes the key basics. #1. Each Java class and object (i.e. instance of a class) has an intrinsic…



03: Java autoboxing & unboxing benefits & caveats interview Q&As

Q1. What do you understand by the terms “autoboxing” and “autounboxing” in Java? A1. Java automatically converts a primitive type like “int” into corresponding wrapper object class Integer. This is…



06: HashMap & HashSet and how do they internally work? What is a hashing function?

HashMap & HashSet are not only one of the frequently used data structures, but also one of the popular interview topics. Q1. How does a HashMap store data? A1. As…



Understanding Overriding, Hiding, and Overloading in Java? How does overriding give polymorphism?

Overriding, Hiding, and Overloading are important core Java concepts and you will be quizzed on job interviews or written tests.

What is overriding?

An instance method overrides all accessible instance methods with the same signature in super classes. If overriding were not possible, you can’t have the OO concept  known as polymorphism.…



800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials

Top