Category Archives: Java

Reflection in Java

3

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

3

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

2.2

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 »