0
Scope of static block in Java
Will static block be executed if a class is instantiated in another package or another project? If yes, at which point?
2 Respostas
+ 1
Code in Java will only be executed if there is a call.
The different between static code and other code is, that static code can be called without an instance of the class.
Was this the question?
0
no I was asking a different question PapaBT