About Me

My photo
Cranbourne, Victoria, Australia
D.O.B: 6/8/1991 makes me 17
Live in Cranbourne
Go to tafe 3 days a week :)
Monday, Tuesday and Fridays...
Come say Hi? :)

Myspace is www.myspace.com/c0urtsxx
Msn is: cawts.x@hotmail.com

Followers

Monday, March 23, 2009

Cats And Dogs!

Dog Class:
This class contains a constructor Sub (New) and method for example, Bark and Go Walkies were the ones we used in the Sub (New) method. we also included the prperties of the dog such an Name Age and Breed.

Cat Class:
This class also contains a constructor Sub (New) for this constructor method we use, Meow and Chase Mouse were used for this method. we also included in the Cat Class the Name Age and Breed of the cat.

The constructor Method prepares the object for use in the program. the code in the constructor method moves before anything else will in the method. if the user writes no code for the program to read VB will automatically gather information that must be processed to complete the object so it can be used.

No comments:

Post a Comment