SPIRO THE TECH GURU

Back

What is Instance initializer block:

By Admin on

Instance Initializer block is used to initialize the instance data member. It run each time when object of the class is created.
The initialization of the instance variable can be directly but there can be performed extra operations while initializing the instance variable in the instance initializer block.
SPIRO Google Plus