Review Of Objects, Public and Private and Ch. 5
From Huben's Wiki
(Created page with "Syntax Versus Style * Enforcement: ** How is syntax enforced? ** How is style enforced? * Whitespace * What needs to match? * Class, method, variable names. ** Identify bad names...") |
|||
Line 3: | Line 3: | ||
** How is syntax enforced? | ** How is syntax enforced? | ||
** How is style enforced? | ** How is style enforced? | ||
+ | ** Which one can vary and why? | ||
* Whitespace | * Whitespace | ||
* What needs to match? | * What needs to match? | ||
Line 20: | Line 21: | ||
UrukHai Lesson | UrukHai Lesson | ||
− | * main() is used to create objects. | + | * main() is usually used to create objects. |
* Instance fields versus class fields. | * Instance fields versus class fields. | ||
* Which do objects have? Which do classes have? | * Which do objects have? Which do classes have? |