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

Last Updated on

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.

Object

Here are Object‘s methods.

Avatar

Karl San Gabriel

Professional Software Developer