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 [2019/10/04 12:54] – frchris | qtr_1_study_guide [2019/10/04 12:55] – frchris | ||
---|---|---|---|
Line 15: | Line 15: | ||
- forgetting to have a method return something of the correct type | - forgetting to have a method return something of the correct type | ||
- **Do not** add a '' | - **Do not** add a '' | ||
- | - **Do not** use local variables | + | - **Do not** use local variables |
+ | - 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 AP scoring penalty called **Destruction of data**) | - **Do not** assign a value to a parameter inside a method unless you are asked to (also a AP scoring penalty called **Destruction of data**) | ||
- return statement on a constructor, | - return statement on a constructor, |
qtr_1_study_guide.txt · Last modified: 2023/10/09 09:23 by frchris