Question
What is static block?
Answer
It is used to initialize the static data member, It is excuted before main method at the time of classloading.
What is static block?
It is used to initialize the static data member, It is excuted before main method at the time of classloading.