Problem Statement
Explain the delegation model of classloaders and why it matters for security.
Explanation
Parent-first delegation ensures core classes loaded by bootstrap are trusted, preventing malicious shadowing; custom loaders typically delegate up before defining classes.