If it wasn't for physics and law enforcement, I'd be unstoppable!
If it wasn't for physics and law enforcement, I'd be unstoppable!
One thing I don't understand is what for instance obs[x].ivar does. Does the value of of the new Puzzle object with a reference of obs[x] become the same as the integer ivar? ... Same thing with result = result + obs[x].doStuff(x); I'm not sure what I have to do with obs[x].doStuff(x); Or better put, what they are doing to each other.
If it wasn't for physics and law enforcement, I'd be unstoppable!
When a method is called, it may (or may not) have one or more "parameters" passed to it. The place from which the method is called puts one or more names of variables in the parentheses following the method name, and the values of those are "passed to" the method.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |