Java SE 11: Strings and Primitive Data Types


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Explore working with strings in Java, including the use of mutable strings through the StringBuilder class. In this course, you will discover the nature and use of strings and primitive data types, in Java. Observe how to compare and sequence strings, through equality tests and lexicography. Discover mutable strings, the advantages of string builder, and how to concatenate strings. Next, split a string via a regular expression, and learn how to split a paragraph of text into words in a string and iterate over individual words.Other topics include how to consider primitive data types, how to perform the standard modulus mathematical operation on an integer. Finally, you will use combined assignment operators to abbreviate common operations.

Expected Duration (hours)
0.8

Lesson Objectives

Java SE 11: Strings and Primitive Data Types

  • use String equality methods to compare strings
  • use String lexicographical comparisons to order strings
  • describe the advantages and use of StringBuilder over String for concatenation
  • use StringBuilder to concatenate strings
  • split a string based on a given regular expression
  • split a paragraph of text into words and iterate over the individual words
  • use the String replaceAll method to replace a particular word in text
  • describe the characteristics of primitive data types
  • perform the standard modulus mathematical operation on an integer
  • use operator assignment to abbreviate common operations
  • use StringBuilder to concatenate the values of particular numeric operations
  • Course Number:
    it_sdjase_06_enus

    Expertise Level
    Beginner