I just wrote about what a class is, in basic terms for those beginning on the CS106A course at Stanford on iTunes U. The next item I want to cover is what a method is.
What is a Method?>
Java allows you to create methods. In simple and beginner terms (meaning those working on programming with Karel), a method is a set of instructions that can be called on by name to execute. In a few of my previous posts I have already written about methods although I haven’t taken the time to explain exactly what a method is. [Read more…]