This is the question 10 in the book: OCP.Java.SE.6.Programmer.Practice.Exams , practice exam 1,
here is the code,
the answer is :
The output could be ted bob alice
so my question is
why ted comes before bob, isn't the instance init block comes just after the super() call in the constructor?
or is it because the
thread, maybe the thread in the init block can run slower than the one in the constructor?
thanks!