Java Instance Initializer block
Java Instance Initializer block is a mechanism provided by the Java compiler to define a group of statements common to all constructors in a single place. At the compilation time, the compiler moves these statements at the beginning of all constructors after super. It can also be used to initialize the instance variable. Java Instance … Read more