Teacher
From Huben's Wiki
Line 103: | Line 103: | ||
9/19 | 9/19 | ||
Review: for test. | Review: for test. | ||
+ | 9/21 | ||
+ | Graduate from Hogwarts, matriculate to Rivendell College. | ||
9/26 | 9/26 | ||
The variables declared at the top of a class are the fields, as opposed to the local variables and arguments in the methods. | The variables declared at the top of a class are the fields, as opposed to the local variables and arguments in the methods. | ||
+ | Explain arguments better: | ||
+ | * Declarations of arguments happens in the method declaration. Type and then name. | ||
+ | * Use the name of the argument inside the method. | ||
+ | * Calls to the method set the argument with values, and the types should match. The values are the results of any expression you provide. Give examples of expressions. | ||
+ | 9/27 | ||
+ | Review: for test. | ||
-------------- | -------------- | ||
Later we will comeback to 2.3, 2.4 and the rest. After the basics of methods, variables and arguments. | Later we will comeback to 2.3, 2.4 and the rest. After the basics of methods, variables and arguments. | ||
Investigate changing from demons to spirits or goblins (what ever Harry Potter has). | Investigate changing from demons to spirits or goblins (what ever Harry Potter has). |