Category Archives: Java

Reflection in Java


Reflection is an API which is used to examine or modify the behavior of methods, classes, interfaces at runtime. The required classes for reflection are… Read More »

HashSet in Java


HashSet: Implements Set Interface. Underlying data structure for HashSet is hashtable. As it implements the Set Interface, duplicate values are not allowed. Objects that you… Read More »

Assertions in Java


An assertion allows testing the correctness of any assumptions that have been made in the program. Assertion is achieved using the assert statement in Java.… Read More »