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:58] – frchris | qtr_1_study_guide [2019/10/04 13:01] – frchris | ||
---|---|---|---|
Line 8: | Line 8: | ||
Things to watch out for: | Things to watch out for: | ||
- | - not initializing a field ( fields are private, to encapsulate) | + | - Constructors should initialize the class' |
- accidentally making a local variable instead of initializing a variable in a constructor | - accidentally making a local variable instead of initializing a variable in a constructor | ||
- remember to make methods public, and don't forget to use () for the parameter list, even if there are no parameters | - remember to make methods public, and don't forget to use () for the parameter list, even if there are no parameters |
qtr_1_study_guide.txt · Last modified: 2023/10/09 09:23 by frchris