Description:
This 11-video course examines the use of loops in Java, where iterative control structures are named for-loops, while loops, and do-while loops. This course opens by studying simple for-loops and introduces the concepts of the check expression, the loop variable, and the UPDATE statement. You will learn how to use enhanced for-loops, popular for iterating over arrays and collections. Participants then explore how to short-circuit a loop by using the break statement, and how to short-circuit the current iteration by using continue. Once a break statement is encountered in a loop, it is automatically terminated and the program control resumes at the next statement following the loop. The course then demonstrates how to do this in the context of for-loops, while loops, and do-while loops. You will learn to identify situations where for-loops are preferable to while loops. Finally, examine the dangers of infinite looping in the context of while looping, and learn to identify common pitfalls that lead to infinite looping and how to avoid these pitfalls.
Target Audience:
Duration: 01:29
Description:
This 12-video course addresses the conditional control structures available in Java by examining the three types of control structures in Java: if/else/else if, ternary operator, and switch. In this course, participants will examine how to use loops to iterate through multiple values/objects and repeatedly run specific code blocks. First, you will learn simple if constructs, which evaluate a condition to determine the flow of program control. You will then study how if-else statements provide a ladder to complex nested conditions and how an if-else statement can lead to bugs. Next, learn what makes the switch construct an easy way to dispatch execution to different parts of code based on the value by byte, short, char, and int primitive data types. Learn how to use a switch station for branching program control based on different values of a single variable, and how to pick a switch statement to avoid bugs. Finally, participants will learn to identify situations in which multiple variables need to be taken into consideration, and how to deploy nested if-else control structures.
Target Audience:
Duration: 01:31
Description:
This 11-video course focuses on string objects in Java. Participants will learn the basics of string objects, which encapsulate an array of characters used to compose words, sentences, or any other data one wants. The course demonstrates how to initial string objects and shows how the process of initialization influences comparisons of strings. Begin by initializing strings with StringBuilder and StringBuffer objects, which can be used to efficiently alter and construct strings. Then see how Java initializes the StringBuffer to have a certain initial capacity, and learn how to allocate additional capacity as needed. This course features an in-depth study of the difference between the double equal to operator and the .equals method, when comparing object types that include strings. You will also learn how null is a reserved keyword for literal values. Participants will learn how to encapsulate the eight primitive types of variables into objects with the built-in wrapper classes, by using Java's eight wrapper types.
Target Audience:
Duration: 01:19
Description:
This 9-video course explores the semantics of the logical and arithmetic operators in Java and how they are used to manipulate operands. The course demonstrates how a small change in an expression can lead to profound changes in output. A recommended prerequisite for this course is a knowledge of primitive data and object types in Java. In this course, you will learn the importance of developing an expression to meet project applications since, in Java, false is the default value. The logical operators are boolean operators, comparison operators, and the use of parentheses. Participants will see examples of boolean logical operators and comparison operators, and arithmetic operators. You will learn to use Java's built-in short-circuit addition and subtraction operators to perform mathematic operations, and how parentheses are used to alter arithmetic expressions. The course also covers use of a unary operator to take a single operand/argument and perform an operation. Finally, the course demonstrates the application of pre- and post-increment and decrement when using a unary operator.
Target Audience:
Duration: 01:06
Description:
This 11-video course explores Java, a program used in real-world commercial situations such as e-commerce websites, android apps and even the game Minecraft. Particpants will learn the eight primitive data types in Java and how to use them—Boolean, byte, char, short, int, long, float, and double—the most basic data types available within Java. The course examines how they serve as the building blocks of data manipulation in Java. First, learn about the types, including Object types, Strings, and Arrays, which are inherited from the java.lang.Object base class. Then learn how to create arrays, which are containers that store a fixed-size sequential collection of elements of the same type. You will learn that arrays can be both primitive and object types. Learn to print their contents, and access individual elements. The course also examines how to create enumerated types, commonly known as enums, which are a special Java type used to define collections of constants and learn how to use these types of variables.
Target Audience:
Duration: 01:11
Description:
This 12-video course explores Java, the general-purpose programming language, among the most popular languages used to create Web applications and platforms. Designed to allow developers to write code that would run on any machine, Java is an easy-to-use object-oriented model with platform independence and robustness. Course participants will learn how to install Java on both Windows and Macintosh-based systems and observe how developers use Java Development Kit (JDK) to build applications and components. The course examines Java bytecode and how it instructs the JVM (Java Virtual Machine). You will explore the Java sandbox environment and the JRE (Java Runtime Environment). The course also demonstrates how to configure two of the most popular Java IDEs (Integrated Development Environment): Eclipse, the most popular open-source IDE, which runs under Windows, Linux, and Mac OS; and IntelliJ which analyzes code and looks for connections between symbols across all project files and languages and provides intelligent coding assistance for a large variety of other languages such as SQL, JPQL, and Javascript.
Target Audience:
Duration: 01:12