What does the PECS principle stand for in Java generics?
Java ProfessionalMedium
Java Professional — Medium
What does the PECS principle stand for in Java generics?
Explanation
The PECS principle in Java generics stands for Producer Extends, Consumer Super. It is a guideline for using wildcards to ensure type safety when working with generic collections.