Generic Methods

Generic Methods

If you are creating multiple methods with the same functionality but varies on the data type that they will accept or contribute on their functionality, then you can use generic…