Which of the following statements is correct?

Question:
Which of the following statements is correct?

1. It is not possible to extend the if statement to handle multiple conditions using the else-if arrangement.

2.The switch statement can include any number of case instances with two case statements having the same value.

3.A jump statement such as a break is required after each case block excluding the last block if it is a default statement.

4.The if statement selects a statement for execution based on the value of a Boolean expression.

Posted Date:-2021-02-20 07:28:12


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!