Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Exactly. Relevant passage from ^

    An object is considered to be completely initialized when its constructor finishes. 
    A thread that can only see a reference to an object after that object has been completely 
    initialized is guaranteed to see the correctly initialized values for that object's final fields.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: