STEP 3
public function Category(id:int,catName:String){
this.catID-id;
this.catName=catName;
}
In the constructor function both catID and catName are preceded by the
this prefix....
However, Just under the code, it is said that...
When the property names match the parmeter names, this prefix must be
there...
I'm confused... because here just catName is named the same, but as a
parameter name 'id' is used and property name is 'catID' ...
so according to the explanation catID doesn't require the this prefix,
doesn't it??