Generic
Generics and Collections
· ☕ 3 min read · ✍️ t1
Java Generic is a feature of the Java language that allows developers to define classes, interfaces, and methods that can operate on different types of objects, without having to specify the specific types of objects that they will operate on.