HTC Global Services Interview Question

Tell about the generics in collection?

Interview Answer

Anonymous

Feb 2, 2019

If we use generic class, we don't need type casting. It is type safe and checked at compile time.