Your code is highlighted in red when running code coverage. Why is this?

Question:
Your code is highlighted in red when running code coverage. Why is this?

1.The code is the cause of a compiler warning.

2.The method is unused or causes runtime errors.

3.The code is within an if statement that is always evaluated as true at runtime.

4.No code calls the method.

Posted Date:-2022-08-09 13:45:05


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!