Which of the following statements is valid about advantages of generics?
1.Generics shift the burden of type safety to the programmer rather than compiler.
2.Generics require use of explicit type casting.
3.Generics provide type safety without the overhead of multiple implementations.
4.Generics eliminate the possibility of run-time errors.
Posted Date:-2021-02-25 10:20:32