hi guys. what is the order of execution in java. IS IT static variables/blocks, contructor, instance variables/blocks. OR static variables/blocks, instance variables/blocks,contructor.
When the class is loaded, the static variables/blocks are initialized first. Then when the class is instantiated, the instance variables/blocks are initialized and then the constructor is executed.
Michael J Bruesch<br /><i>I code, therefore I am.</i>
If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad: