Parametric Polymorphism
← Back to Polymorphism
Polymorphism achieved through type parameters (generics). A single function or data structure can work with any type, with the specific type determined at compile time. Examples include List<T> in Java and Vec<T> in Rust.