Monday, March 23, 2009

Cat and Dog Classes

The constructor sets out properties in to the class.

The Cat Class had three properties of _strCatName,_strCatAge,_strCatBreed and two methods of Meow and ChaseMouse.


The Dog Class had three properties of _strDogName,_strDogAge,_strDogBreed and three methods of GoWalkies and Bark.

No comments:

Post a Comment