1.

Which of the following loops will execute the body of loop even when condition controlling the loop is initially false?(a) do-while(b) while(c) for(d) none of the mentionedI got this question in an online interview.My enquiry is from Control Statements in portion Operators and Control Statements of Java

Answer» RIGHT OPTION is (a) do-while

To ELABORATE: NONE.


Discussion

No Comment Found

Related InterviewSolutions