Title: Arrays Part 2 Miscellaneous
Course: CPS 161: An Intro to Programming with Java - DL MM MASTER > Section: Learning Units - Bb

Presentations and Videos

- Arrays Part 2 Miscellaneous lecture video (Time: 29:50)
- Arrays Part 2 Miscellaneous document

- Enumerated Types:For-each loop
  - Purpose- to make your code more readable
  - Features: valueOf, valueOf, ordinal, compareTo, values, works with == and switch statements
  - Examples: WorkDay, Flavor, Months, Chess: ColorType and PieceType
- Variable numbers of parameters
  - System.out.printf
  - Examples: UtilityClass.java, Utility2.java