mxj calling constructor?

Jul 7, 2006 at 9:59pm

mxj calling constructor?

Jul 8, 2006 at 9:15am

This isn’t a constructor; it’s a method, since you’ve given it a
return type of void. I’m rather surprised that it compiles at all,
but at least according to Eclipse it’s legal, although I do get a
warning. I’m several hundred miles from my copy of the Java Language
Specification right now so can’t look it up.

– N.

nick rothwell — composition, systems, performance — http://

Jul 8, 2006 at 4:30pm

It certainaly is legal. IIRC, it was in Roedy Green’s unmaintainable code how-to at one point.


You must be logged in to reply to this topic.