Java Certified Foundations Associate: Looping Statements
Java
| Beginner
- 14 videos | 1h 19m 14s
- Includes Assessment
- Earns a Badge
One of the main tasks of computer applications if to process lists of data. Java lists of data can be processed using looping statements. In this course, you will learn the various methods for performing looping in Java programming language. First, you will learn about the various types of looping statements available in Java such as enhanced for loops, for loops, while loops, and do-while loops. Next, you will learn about the best practices to follow when performing looping. Finally, you will learn about the break and continue statement. Finally, you'll learn how to apply all of these looping methods. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseDescribe the types of looping statements in java such as for loops, while loops, do-while loops and enhanced for loopsDescribe for loops in javaDemonstrate for loops in javaDescribe enhanced for loops in javaDemonstrated enhanced for loops in javaDescribe while loops in java
-
Demonstrate while loops in javaDescribe do-while loops in javaDemonstrate do-while loops in javaDescribe the best practices for selecting the correct looping statements in javaDescribe code that uses break and continue statements in javaDemonstrate code that uses break and continue statements in javaSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 34sIn this video, you’ll learn more about the instructor and the course. You’ll learn Oracle's 1Z0-811 Java certified Foundations Associate certification is targeted to audiences seeking foundational knowledge of the Java programming language and concepts. Individuals tackling this certification must demonstrate they can write and execute a Java program, work with the Java Development Kit and the Java Runtime Environment. In this course, you'll learn various methods for performing looping in the Java programming language. FREE ACCESS
-
4m 26sIn this video, you’ll learn that Java has three main types of looping statements. These include the for loop which allows you to execute a loop based on indexes, conditions, or lists. The while loop allows you to perform a loop for as long as you deem necessary. And a do…while loop that allows you to perform a loop for as long as you deem necessary. You’ll learn these loops are based on a condition. FREE ACCESS
-
8m 25sIn this video, you’ll learn more about Java loops. You’ll learn that the kind of loop you'll use will be dependent on the type of work you're doing. You’ll discover the most common type of loop is the for loop which repeatedly executes code statements contained in that loop. You’ll learn how for loops work. You’ll learn when Java encounters a for loop, it will start the process of iteration, and evaluate the condition. FREE ACCESS
-
8m 29sThis video will provide you with a demo. You’ll look at creating a simple for loop in Java. You’ll learn how to use a simple iterator to count to ten and output the value to the console. Following the onscreen directions, you’ll first learn how to create a project in Eclipse. Finally, you’ll save the file and run the project. FREE ACCESS
-
5m 16sIn this video, you’ll learn that there's the option to use an enhanced kind of for loop as well. These enhanced for loops are a simple method for iteration. You’ll learn they'll automatically iterate over each item in the list without you having to specify iteration variables, conditions or an increment. This video will explain how enhanced loops work and how to use them. FREE ACCESS
-
7mIn this video, you’ll watch a demo on how to implement an enhanced for loop in Java. Following the onscreen directions, you’ll learn how to output the contents of a list to the console without the use of an iterator variable or conditions. This will use what you build in the previous demo, in Eclipse. You’ll learn how to save and run this project. FREE ACCESS
-
4m 9sIn this video, you’ll learn about a while loop. You’ll discover that a while loop will repeat forever, as long as the conditions remain true. You’ll learn that while loops are not based on an iterator, but on an arbitrary decision as to what condition allows the loop to stop. You’ll learn that the condition for a while loop is tested inside the definition statement. You’ll view a flowchart in Java to help explain this. FREE ACCESS
-
6m 20sIn this video, you’ll follow an onscreen demo to help you implement a while loop in Java. You’ll learn how to output the contents of a list to the console without the use of an iterator. This demo will use what you saved from the previous demo, which was built in Eclipse. You’ll learn how to create a while loop by first mimicking a for loop. FREE ACCESS
-
4m 52sIn this video, you’ll learn about the do...while loop. You’ll discover that this loop is nearly the same as the while loop, with one difference. You’ll learn that the difference between these two loops is the condition that decides whether to continue the iteration is tested outside the code. This means a do...while loop is executed at least once. You’ll also learn the reasons to use a do...while loop instead of a while loop. FREE ACCESS
-
8m 52sIn this video, you will watch another demo. In this demonstration, you’ll learn how to implement a do...while loop in Java. Following the directions, you’ll learn to output the contents of a list to the console without the use of an iterator. You’ll use what you created in the previous demo, which was built in Eclipse. FREE ACCESS
-
5m 54sIn this course, you’ll learn best practices for loops. You’ll learn that the most common type of loop is the for loop. And you’ll discover the for loop is most useful when counting is straightforward. With a for loop, you will start at a certain index and count up or down to another value. The loop terminates when you reach your target count. FREE ACCESS
-
5m 25sIn this video, you will learn about the two types of statements you can execute in Java that will impact how a loop executes. You’ll discover those statements are break and continue. First, you will learn all about break statements and then you’ll explore continue statements. Break statements help to terminate a loop and continue statements cause loops to skip iterations. FREE ACCESS
-
7m 56sIn this video, you will watch a demo that will help you work through an example of a break statement and a continue statement in Java. Following the onscreen directions, you’ll use the break statement while performing a search for a value in an array. Then, you’ll learn to use the continue statement to skip unwanted values in an array. You will use your previous saved project from Eclipse. FREE ACCESS
-
37sThis video summarizes the course. You learned the various methods for performing looping in the Java programming language. You also learned about the types of Java looping statements, programming for loops, enhanced for loops, while and do-while loops, Java looping best practices, and programming Java break and continue statements. 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.