Getting Started with Java: Operators

Java    |    Beginner
  • 10 videos | 1h 22m 12s
  • Includes Assessment
  • Earns a Badge
Rating 4.5 of 84 users Rating 4.5 of 84 users (84)
When developing with Java, you can perform many different operation types on the data in your Java program. The goal of this course is to give you hands-on experience with these operations. Begin by working with the basic math operations that apply to numeric data, such as addition, division, and so on, recognizing how these apply to different numeric types. Use logical and comparison operators, which allow you to evaluate a condition and check the relationship between different variables. Lastly, implement string operations in Java and explore some of the methods used to transform data from one type to another. When you're finished with this course, you'll be able to perform a variety of operations on your Java program data.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Use java math operators to perform operations on integers and concatenate strings
    Recognize how java assignment operators are used to change the values of variables
    Describe the use of logical operators in java to specify conditions and create filters
    Make use of comparison operators and functions in java to compare variables
  • Recall how arithmetic operations in java follow the pemdas rules when evaluating expressions
    Describe how various operations, such as trimming, are performed on java strings
    Use null values in java to specify that a variable does not have any value
    Implement java casting operations to convert data from one type to another
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 8s
    In this video, you’ll learn more about your instructor and this course. In this course, you’ll gain hands-on experience with different types of operations which can be performed on your data in a Java program. You’ll learn basic math operations that apply to numeric data and recognize how these apply to different numeric types. You’ll move on to logical and comparison operators and implement string operations in Java. You’ll also learn to transform data types. FREE ACCESS
  • 12m 46s
    In this video, you’ll watch a demo. You’ll learn that once you begin writing programs of meaningful size, you’ll need to perform a number of operations. Operations are where one or more operands or values are taken in and some meaningful transformation or operation are performed on them. The most basic example is to take in two numbers and add them up to produce a sum. Here, you’ll explore the operators available in Java. FREE ACCESS
  • Locked
    3.  Recognizing Assignment Operator Use in Java
    12m 16s
    In this video, you’ll watch a demo. You’ll perform some simple assignments and then build upon the complexity of the operations. First, you’ll declare two integer variables, varInt1 and varInt2. Then, you’ll make use of the assignment operator which is the equal to symbol in order to assign integer literal values to them, specifically 10 and 5. To run this program, you’ll see there’s a run config called AssignmentOperators that’s already been created. FREE ACCESS
  • Locked
    4.  Applying Logical Operators in Java
    11m 14s
    In this video, you’ll watch a demo. Here, you’ll move to comparison operators. A new class and a new run config have been created. Comparison operators allow you to perform comparisons between values and will return a boolean value as a result. In your first example, you’ll initialize a variable x, which is a boolean type to true. The first comparison operator you’ll explore is the double equal to operator. FREE ACCESS
  • Locked
    5.  Using Comparison Operators in Java
    11m 5s
    In this video, you’ll watch a demo. Here, you’ll evaluate multiple Boolean values and the results of multiple comparisons. You’ll make use of logical operators. This allows you to perform logical AND as well as logical OR operations. To explore these operators, you’ll see a new class and run configuration has been created. First, you’ll paste in the code for the first example. FREE ACCESS
  • Locked
    6.  Identifying Operator Precedence in Java
    5m 11s
    In this video, you’ll watch a demo. Here, you’ll have a chain of operations being performed inside an expression. You’ll learn which of the operators take precedence over the other. You’ll see a new class and run configuration called OperatorPrecedence have been created. Onscreen, there are four double values to work with. You’ll perform a series of mathematical operations using different operators within the same expression. FREE ACCESS
  • Locked
    7.  Performing String Operations in Java
    11m 17s
    In this video, you’ll watch a demo. You’ll explore some string operations, which apply to string data types. You’ll see there’s a StringOperations.java source file available. This includes a StringOperations class. You’ll also find a new run configuration to execute this. First, you’ll paste in the code. The first operation you’ll perform is a simple string concatenation. FREE ACCESS
  • Locked
    8.  Null Values in Java
    5m 40s
    In this video, you’ll watch a demo. You’ll learn about null values in Java. This is a special type of value that is available in Java, as well as in a variety of other programming languages. It’s often used to indicate the absence of a value. There’s a new source file, class, and run configuration for this demo. You’ll start by pasting in some code. FREE ACCESS
  • Locked
    9.  Casting Data in Java
    8m 30s
    In this video, you’ll watch a demo. You’ll learn more about casting data in Java. You'll see how this works and learn some of the challenges involved. You'll see a new source file and class called TypeCasting and a run config of the same name. To start off, you’ll work with an integer and a double. Here, you’ll declare a variable called myInt and assign it a value of 9. Then you’ll initialize the variable. FREE ACCESS
  • Locked
    10.  Course Summary
    2m 4s
    In this video, you’ll summarize what you’ve learned in this course. You’ve gained hands-on experience with the different types of operations that can be performed on your data in a Java program. You covered basic math operations that apply to numeric data. You also learned how to apply these to numeric types. You learned logical operators and comparison operators. You also learned about operator precedence, and how these can affect long expressions involving multiple operators. 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.

YOU MIGHT ALSO LIKE

Rating 4.7 of 13 users Rating 4.7 of 13 users (13)
Rating 4.7 of 100 users Rating 4.7 of 100 users (100)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 526 users Rating 4.5 of 526 users (526)
Rating 4.8 of 55 users Rating 4.8 of 55 users (55)
Rating 4.4 of 43 users Rating 4.4 of 43 users (43)