Java SE7 Fundamentals: Decision Constructs, Arrays, and Loops
Programmers with an understanding of object-oriented programming concepts who want to learn Java; programmers proficient in another object-oriented programming language who want to move to Java.
Please contact us for information about prerequisites.
Java uses conditional and relational operators to evaluate a condition and, depending on the result, executes different blocks or branches of code. Java also offers the array data type, which is a container object that holds a group of values of a single type. In Java, loops are frequently used in programs to repeat blocks of statements until an expression is false. This course covers creating relational and conditional operators, creating if and if/else constructs, chaining an if/else statement, and using a switch statement. In addition, this course provides an overview of arrays, and describes declaring, instantiating, and initializing arrays. It covers accessing command-line arguments, as well as working with two-dimensional arrays and ArrayList. Creating a while loop, developing a for loop, nesting a for and while loop, using an array in a for loop, coding and nesting a do/while loop, and comparing loop constructs are also covered.
Java Operators, Decision Constructs, and Arrays
- use if and if/else constructs
- use a switch statement
- create a one-dimensional array
- work with two-dimensional arrays
- work with ArrayList
Using Loops in Java
- develop while and for loops
- work with while loops
- use an array in a loop and code and test a do/while loop
- create and populate an array list
- manipulate an ArrayList
- use loops to process an ArrayList