Java SE 11: Flow Control & Debugging


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Discover how to implement flow control using ternary, if/else, and switch statements in Java. During this course, you will start by exploring the use of two dimensional arrays, enumerated types, and the debugging features of the NetBeans IDE. Next, see how to use a ternary conditional statement, and how to chain IF and ELSE constructs together. As you progress you will discover how to implement a SWITCH statement, and other key topics such as how to create a SWITCH statement based on an enumerated type. You will also learn how to employ the Eclipse debugger, set debugging breakpoints that halt program execution, and let you step through the code. Finally, you will inspect the value of variables to debug a program.

Expected Duration (hours)
0.7

Lesson Objectives

Java SE 11: Flow Control & Debugging

  • use a ternary conditional statement
  • chain if and else constructs together
  • use a switch statement
  • use a nested for loop to iterate over a two dimensional array
  • use a switch statement based on an enum type
  • start the debugger and step into a program
  • set breakpoints in code to stop execution when debugging a program
  • inspect the value of variables when debugging a program
  • step through a section of code with an if/else construct using the debugger
  • Course Number:
    it_sdjase_08_enus

    Expertise Level
    Beginner