Which of the following statements are correct?The switch statement is a control statement that handles multiple selections and enumerations by passing control to one of the case statements within its body. The goto statement passes control to the next iteration of the enclosing iteration statement in which it appears. Branching is performed using jump statements which cause an immediate transfer of the program control. A common use of continue is to transfer control to a specific switch-case label or the default label in a switch statement. The do statement executes a statement or a block of statements enclosed in {} repeatedly until a specified expression evaluates to false.

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

Question:
Which of the following statements are correct?The switch statement is a control statement that handles multiple selections and enumerations by passing control to one of the case statements within its body.
The goto statement passes control to the next iteration of the enclosing iteration statement in which it appears.
Branching is performed using jump statements which cause an immediate transfer of the program control.
A common use of continue is to transfer control to a specific switch-case label or the default label in a switch statement.
The do statement executes a statement or a block of statements enclosed in {} repeatedly until a specified expression evaluates to false.

1.1, 2, 4

2.1, 3, 5

3.2, 3, 4

4. 3, 4, 5

Posted Date:-2021-02-20 14: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!