https://jnnctechnologies.com/
Static Block and main() method in Java
In Java static block is used to initialize the static data members. Important point to note is that static block is executed before the main method at the time of class loading.
https://summerinternshipinjnnctechnologies.blogspot.com/
0 Comments
If you have any doubts,please let me know