The linked answer doesn’t mention this at all, instead focusing on using the final
keyword, which is, for what it’s worth, what I would have answered.
Also, I’m skeptical of this private constructor business. Or maybe you intended this as a hint for a different question?