R
Ron
I want to learn about classes so I would like to know how to create a
simple one say a cat class with sleep, eat, meow properties.
how would I make a class that i could later use proterties of for
example
mycat.eat = true
or mycat.meow=false
is this even how you would do it?
Can anyone provide an example?....or any class in general...a dog, a
fish, anything just want to get the idea of classes.
thanks
simple one say a cat class with sleep, eat, meow properties.
how would I make a class that i could later use proterties of for
example
mycat.eat = true
or mycat.meow=false
is this even how you would do it?
Can anyone provide an example?....or any class in general...a dog, a
fish, anything just want to get the idea of classes.
thanks