Java SE 11: Variables and Operators


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Explore the use of variables and operations using strings and numeric types in Java. During this course, you will declare, initialize, and concatenate Java string variables. See how to use the indexOf and substring functions. Declare and initialize Integer and floating-point variables. Learn to modify numeric variables via basic Java mathematical operators. Explore operator precedence rules. Set precedence through parentheses in a Java expression. Assign and concatenate integers and strings. Finally, as a review exercise, you will concatenate various Java variable types to create strings.

Expected Duration (hours)
0.9

Lesson Objectives

Java SE 11: Variables and Operators

  • describe the purpose of a variable in the Java language
  • list and describe four data types and use variables in Java
  • declare and initialize String variables in Java
  • concatenate String variables in Java
  • use the indexOf and substring functions on a String in Java
  • declare and initialize int and double variables in Java
  • modify numeric variables using basic mathematical operators in Java
  • describe operator precedence rules in Java
  • work with parentheses to control precedence in an expression in Java
  • work with concatenation of strings and integers in Java
  • practice creating strings from the concatenation of various variable types in Java
  • Course Number:
    it_sdjase_02_enus

    Expertise Level
    Beginner