![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Generic Types and Methods - slide 18 : 21 |
A generic method is a template of a method that takes a number of type parameters
It is possible to have generic methods in both generic and non-generic types
![]() | An equivalent program without automatic inference of the actual type parameters. |
![]() | Output from the generic bubble sort program. |