Java Statements: Break, Continue & Return


Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

Examine the following code. What will the result of the code be, given the break statement?

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. The _____ statement gives control back to a method or constructor.

2. Examine the following code. What control statement would fit best in the else block (the what goes here? question)?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

This quiz/worksheet will test your ability to comprehend branching statements in Java. For the quiz you'll need to assess topics like interpreting break statements in given code and the type of statement that alters control.

Quiz & Worksheet Goals

Use these study resources to:

  • Determine a control statement that fits in an else block
  • Identify what is returned to the main module in a given code
  • Understand when break statement(s) are needed in a structure or loop

Skills Practiced

  • Information recall - access the knowledge you've gained regarding break statements
  • Reading comprehension - ensure that you draw the most important information from the related lesson on branching statements in Java
  • Making connections - use understanding of the concept of break statements and how they are connected to structure/loop types

Additional Learning

Find out more about the area of study with the lesson we've called Java Statements: Break, Continue & Return, which will adhere to the following topics:

  • Why break statements are needed in Java
  • Example of break statements
  • What various statements do