0
I there any implicit static block in java
6 Answers
+ 4
Ace I've come to shutter the thought of ever referencing a link from GeeksForGeeks anymore. The rampant inaccuracies and lack of quality checks in their articles are reaching an all time low for me.
While there might be some accurate articles on this website, just be aware of the consistent credibility issues I've experienced with their content in general. I actually skip looking at their content most of the time because it only results in me doing a lot more fact checking.
I consider it worse than W3Schools ever was in the past and that's saying a lot. đ
+ 2
Ace To be honest I know this but may be I didn't understand his question well since it's not clear.
Implicit is something that is done on its own internally but for static initializer block you have to declare the block static explicitly and put stuff inside it to run at the time of class loading.
+ 1
No, I don't think so and kindly correct me if I'm wrong.
Edit: You have to declare it explicitly.