Things we learned about using parameters with methods:
So, we have seen another example of reuse, more powerful than before. In the last module, we saw how we could reuse a method to do the same thing many times. Now we can reuse a method to do many different things. We will explore this important aspect further in the next module.
Sample questions you should be able to answer after this module:
[Q4.8.1]: How would we describe the following instruction in English computer speak?
[Q4.8.2]: If you added a new, 7th character in our dance world, would you need to create a new method to get him to dance?
[Q4.8.3]: If I have a frog object in our world and I want him to dance, what statement would I write to make that happen?