posted 17 years ago
I am trying to understand the order that certain things are constructed in a object when you create it. I am getting tripped up on little questions that include when certain parts of the construction happen. Could someone help me with outlining the order of object construction? Here is what I understand:
1. Static blocks run
2. Constructor is called
3. No arg call to super is inserted, unless there is another call to super (with the same or other arguments)
4. Class variables are initialized