1.

Why We Should Use Generics?

Answer»

Generic provides lot of ADVANTAGES during programming. We should use generics for the following reasons:

  • It allows creating class, methods which are type-safe
  • It is faster. Because it REDUCE boxing/un-boxing
  • It increase the CODE PERFORMANCE
  • It helps to maximize code reuse, and type SAFETY

Generic provides lot of advantages during programming. We should use generics for the following reasons:



Discussion

No Comment Found