What is static block?

Java Programming Language >   Overview of Java Language >   Benefits of OOP  

Short Question

627


Answer:

It is used to initialize the static data member, It is excuted before main method at the time of classloading.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.