CS100A Lecture 17
Previous Lecture
- Programming concepts
- Java Constructs
- Constructors for two-dimensional arrays
- Initializers for arrays
- final
This Lecture
- Two dimensional arrays.
- Reasonable size problem (a past assignment).
- Stepwise refinement.
- Use of comments as high-level specifications:
- as high-level commands,
- as representation invariants.
- Incremental development and testing.
- Use of sentinels.
- Static declarations.
- Local declarations, scope, and the reuse of names.
- Heuristic algorithms.