Hi....
Ques : If you have static block constructor and main method in Java file then what will be the sequence of method calls?
If you have static block, constructor and main method
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 28, 2012, 10:25 PM EST
The sequence of call will be:
1. static block
2. main
3. constructor
Thanks