qtr_1_study_guide
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
qtr_1_study_guide [2022/10/01 10:07] – frchris | qtr_1_study_guide [2022/10/01 10:08] – frchris | ||
---|---|---|---|
Line 23: | Line 23: | ||
- Remember method names should use () for the parameter list, even if there are no parameters | - Remember method names should use () for the parameter list, even if there are no parameters | ||
- Watch for dangling else statements (p 148) - without brackets, the last '' | - Watch for dangling else statements (p 148) - without brackets, the last '' | ||
- | - **Do not** add a '' | + | - **Do not** add a '' |
- | - **Do not** use local variables before first declaring them ( also a [[https:// | + | - **Do not** use local variables before first declaring them ( also a [[https:// |
- Variables are declared ONLY ONCE, not every time. | - Variables are declared ONLY ONCE, not every time. | ||
- | - **Do not** assign a value to a parameter inside a method unless you are asked to (also a [[https:// | + | - **Do not** assign a value to a parameter inside a method unless you are asked to (also a [[https:// |
- **Never** use '' | - **Never** use '' | ||
- Remember to '' | - Remember to '' |
qtr_1_study_guide.txt · Last modified: 2023/10/09 09:23 by frchris