|
by luisabreu via LA.NET [EN] on 7/12/2010 2:35:08 PM
[Update: updated the text that explains why you’d need to make an explicit call to the base class’ constructor. Thanks Damien] In the last post, I’ve mentioned constructors…but what is a constructor? The first thing you should keep in mind is that there are several types of constructors and, in this post, we’ll only be talking about instance constructors. So, what’s an instance constructor? Constructors are special methods which are responsible for initializing an object to a “good” stat
... [ read more ]
|
|