qtr_1_study_guide
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
qtr_1_study_guide [2019/10/04 13:02] – frchris | qtr_1_study_guide [2019/10/04 13:09] – frchris | ||
---|---|---|---|
Line 10: | Line 10: | ||
- Constructors should initialize the class' | - Constructors should initialize the class' | ||
- **Do not** use the type in the constructor- this accidentally makes a local variable instead of initializing the classes field that has the same name. | - **Do not** use the type in the constructor- this accidentally makes a local variable instead of initializing the classes field that has the same name. | ||
- | - remember | + | - Remember |
- | - local variables are never public nor private | + | - Remember local variables are **never** public nor private |
- | - dangling else statements (p 148) | + | - Remember method names should |
- | | + | - 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 AP scoring penalty). | - **Do not** use local variables before first declaring them ( also a AP scoring penalty). | ||
Line 20: | Line 20: | ||
- **Never** use '' | - **Never** use '' | ||
- **Do not** '' | - **Do not** '' | ||
+ | - Remember to '' | ||
+ | | ||
Finally, please remember to get a good night' | Finally, please remember to get a good night' | ||
Good Luck! | Good Luck! |
qtr_1_study_guide.txt · Last modified: 2023/10/09 09:23 by frchris