CM2 — Collections, Exceptions & File I/O
Stéphane Derrode — Centrale Lyon · S7 Inf A3
:material-file-pdf-box: Download PDF
Topics covered
- Collections framework overview
ArrayList<T>— dynamic arraysHashMap<K,V>— key/value storage withVoitureStack<T>— LIFO structure- Exception hierarchy, try/catch/finally, multi-catch
- Custom exception classes
- File I/O with try-with-resources