What you will learn

Introduction

This course focuses on constructs you are likely already familiar with because they are used as control elements in other languages. In addition to learning how Java creates code blocks, you will learn more about using conditional statements such as if and switch/case and iteration statements such as while, do while, for, and nested loops.

Objectives

  • Define a selection statement
  • Define an iteration statement
  • Understand the block structure of Java
  • Use select statements if/else and switch
  • Use iteration statements while, do/while, and for
  • Understand break and continue statements


Complete and Continue