Hi Rahul, I am clear with first 2 method. How come the 3 rd method is not generic and what is the use of it ? Type parameter T is defined know ? Could you please elaborate it ?
Rahul Saple wrote:
Since the third method isn't a generic one, it doesn't define a Type parameter at the start. The 'T' type used by the method is of the generic class and not its own.
Hope it helped.