News for hackers. Stuff that matters.
Re:Why Java folks should stop looking down on C#: difference... by kenjackson on Sunday May 22, 2011 @09:06PM (#2574705)
In C# in general you shouldn't call a virtual method from a constructor. See http://blogs.msdn.com/b/abhinaba/archive/2006/02/28/540357.a... (of course there are exceptions to this rule, but make sure you understand the rule).

I thought Java had this same issue, but if methods aren't explicitly virtual you're effectively always in this state. So clearly Java must deal with construction/virtuals differently.

There are no comments on this comment yet.