Quiz Discussion

Which of the following is not a decision making statement?

Course Name: Java

  • 1]

    if

  • 2]

    if-else

  • 3]

    switch

  • 4]

    do-while

Solution
No Solution Present Yet

Top 5 Similar Quiz - Based On AI&ML

Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api

# Quiz
1
Discuss

What is true about do statement?

  • 1]

    do statement executes the code of a loop at least once

  • 2]

    do statement does not get execute if condition is not matched in the first iteration

  • 3]

    do statement checks the condition at the beginning of the loop

  • 4]

    do statement executes the code more than once always

Solution
2
Discuss

Which of the following loops will execute the body of loop even when condition controlling the loop is initially false?

  • 1]

    do-while

  • 2]

    while

  • 3]

    for

  • 4]

    none of the mentioned

Solution
# Quiz