The generic class has the same behavior for all of its possible parametric types. The same generic class can be viewed each time as if it has a different parametric type. For the JVM it doesn’t matter which parametric type we chose to instantiate a generic class with. In all cases, for the JVM it is the same class. Generics implementation in Java is in the compiler level. The following video clips show that.

My Talk about Decorators in PyCon IL 2025
PyCon IL 2025 took place on September 9, 2025. It was a marvelous celebration for Python developers in the Israeli community.