+ 4
What does it means : static {i = 5;} and which situation we use it??
i find this declaration in a challenge that i played and i have no idee about what does it means or which case we use this can you guys answer me
1 Answer
+ 2
That is a static block. Explanation found here: https://stackoverflow.com/questions/2420389/static-initialization-blocks