what is static block java code example
Example: What is the static block
Static block is used to initialize the static data member.
It is executed before the main method,
at the time of classloading.
Static block is used to initialize the static data member.
It is executed before the main method,
at the time of classloading.