User Tools

Site Tools


qtr_1_study_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
qtr_1_study_guide [2018/10/08 12:44] cthielqtr_1_study_guide [2018/10/08 12:46] cthiel
Line 6: Line 6:
  
 Things to watch out for: Things to watch out for:
-  - not initializing a field (private, to encapsulate) +  - not initializing a field ( fields are private, to encapsulate) 
   - accidentally making a local variable instead of initializing a variable    - accidentally making a local variable instead of initializing a variable 
-  - make methods public, don't forget to use () for the parameter list, even if there are none+  - remember to make methods public, and don't forget to use () for the parameter list, even if there are none 
 +  - local variables are never public nor private
   - dangling else statements (p 148)   - dangling else statements (p 148)
    
 Finally, please remember to get a good night's rest and a healthy breakfast! Finally, please remember to get a good night's rest and a healthy breakfast!
 Good Luck! Good Luck!
qtr_1_study_guide.txt · Last modified: 2023/10/09 09:23 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki