Skip to content
Advertisement

Generic type as parameter in Java Method

Do you think it is possible to create something similar to this?

JavaScript

Advertisement

Answer

Yes, you can.

JavaScript

Usage example:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement