Java SE 11: Flow Control & Debugging

Java    |    Beginner
  • 9 videos | 42m 17s
  • Includes Assessment
  • Earns a Badge
Rating 4.7 of 141 users Rating 4.7 of 141 users (141)
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.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • 5m 5s
    Learn how to use a conditional statement with three conditions. FREE ACCESS
  • 5m 41s
    In this video, learn how to chain if and else constructs together. FREE ACCESS
  • Locked
    3.  Using a Switch Statement
    5m 35s
    In this video, you will learn how to use a switch statement. FREE ACCESS
  • Locked
    4.  Using Two Dimensional Arrays
    5m 56s
    Find out how to use a nested for loop to iterate over a two-dimensional array. FREE ACCESS
  • Locked
    5.  Using Enumerated Types
    3m 54s
    In this video, you will use a switch statement based on an enum type. FREE ACCESS
  • Locked
    6.  Using the Eclipse Debugger
    5m 30s
    Learn how to start the debugger and step into a program. FREE ACCESS
  • Locked
    7.  Setting Breakpoints and Stepping Through Code
    3m 23s
    In this video, you will learn how to set breakpoints in code to stop execution when debugging a program. FREE ACCESS
  • Locked
    8.  Debugging Variables
    4m 29s
    In this video, you will learn how to inspect the value of variables when debugging a program. FREE ACCESS
  • Locked
    9.  Exercise: Debug an if/else Construct
    2m 46s
    In this video, you will step through a section of code with an if/else construct using the debugger. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 103 users Rating 4.4 of 103 users (103)
Rating 4.6 of 148 users Rating 4.6 of 148 users (148)
Rating 4.7 of 38 users Rating 4.7 of 38 users (38)