Styrow.dev
Question 65 of 247
Java Topic: General medium

What is static block?

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.