Which of the following statements is valid about advantages of generics?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
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


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!