This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Winston Gutkowski wrote:
@abhinas: Seriously though: from the Java compiler's point of view there are only TWO types of constructor:
A default constructor.
One you write yourself.
And even that distinction is iffy. Once the byte-code has been generated, there's no way to tell whether the constructor came from your source code or was injected by the compiler. I wouldn't even call it a different type of constructor, but I suppose you could make the argument that it is.