Garmaine Staff asked 2 years ago
This question already has answers here:
http://stackoverflow.com//questions/2943556/static-block-in-java”>Static Block in Java [duplicate] (7 answers)
Closed 5 hours ago.

I've encountered static { /*…*/ }, what does this mean?

public class SomeClass {

   static {
   //What does this?
   }

}