All learning paths · 5 concepts · 68 min
⚙️ Java under the hood
Labelled boxes and a conveyor belt, then workshop benches and a storeroom, a playroom cleaner and a tour guide's phrasebook.
- 🏷️Generics and type erasureBoxes labelled "apples only" are checked at the hall door, but the labels come off at the factory gate.
- 🍪Java StreamsA cookie factory's conveyor belt: stations sort and ice the cookies, and nothing moves until someone at the end asks.
- 🧹Garbage collectionA playroom cleaner who only throws out toys nobody can reach any more, tidying the new-toy box most often.
- 🛠️JVM memory: heap, stack and metaspaceA workshop: each worker stacks their job at their own bench, and finished pieces go to one shared storeroom.
- 🗣️JIT compilationA tour guide translating live from a dictionary, who writes the most-asked phrases into a quick phrasebook.