Today in VB, we had to make our own classes and properties. To make it easier to understand, it was realted to a cat and a dog, two physical things with very obvious properties(name, furcolour etc) and actions, like meowing or going for 'walkies'.
I thought it was really interesting, still confusing for me now, but with a little more exploration i'll hopefully understand it better. From what I could gather, it opens an extreme amount of doors for programming things with-in VB, and add's another complex level to it. Heh.
First of all, with in the Dog Class;
It had properties and methods. The properties were the things it has, like a name, age and a breed. And it's methods are like barking and going for walkies
With the dog class, it has similar properties, but its methods were different, having meow and chase mouse functions.
Monday, March 23, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment