Java – What methods can be invoked on Formal Type Parameters?

In Generics, we name Formal Type Parameters like T, E, K, V, and etc. If an instance variable type is of Formal Type Parameter, what are the methods that can be invoked using that instance variable?

T is Object

A Formal Type Parameter has these methods similar to that of Object.


Here are Object‘s methods.

Karl San Gabriel

Karl San Gabriel

Java and Enterprise Technologies Expert