This question already has answers here:
http://stackoverflow.com//questions/2943556/static-block-in-java”>Static Block in Java [duplicate] (7 answers)
http://stackoverflow.com//questions/2420389/static-initialization-blocks”>Static Initialization Blocks (14 answers)
Closed 5 hours ago.
I've encountered static { /*…*/ }, what does this mean?
public class SomeClass {
static {
//What does this?
}
}
Please login or Register to submit your answer