Java SE 11: Strings & Primitive Data Types

Java    |    Beginner
  • 11 videos | 48m 55s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 169 users Rating 4.6 of 169 users (169)
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.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • 5m 15s
    Find out how to use string equality methods to compare strings. FREE ACCESS
  • 4m 35s
    During this video, you will learn how to use lexicographical comparisons to order strings. FREE ACCESS
  • Locked
    3.  Introduction to Mutable Strings
    3m 4s
    After completing this video, you will be able to describe the advantages and use of StringBuilder over String for concatenation. FREE ACCESS
  • Locked
    4.  Using StringBuilder to Concatenate Strings
    3m 50s
    In this video, you will learn how to use StringBuilder to join strings together. FREE ACCESS
  • Locked
    5.  Splitting Strings
    8m 33s
    In this video, learn how to split a string based on a given regular expression. FREE ACCESS
  • Locked
    6.  Iterating Over Words in a String
    3m 45s
    In this video, you will learn how to split a paragraph of text into words and iterate over the individual words. FREE ACCESS
  • Locked
    7.  Performing a String Replace
    5m 56s
    Learn how to use the String replaceAll method to replace a particular word with another word in text. FREE ACCESS
  • Locked
    8.  Primitive Data Types
    3m 44s
    After completing this video, you will be able to describe the characteristics of primitive data types. FREE ACCESS
  • Locked
    9.  Using the Modulus Operator
    3m 26s
    To find out how to perform the standard modulus mathematical operation on an integer, consult a math reference book or website. FREE ACCESS
  • Locked
    10.  Using Combined Assignment Operators
    3m 27s
    In this video, you will use operator assignment to abbreviate common operations. FREE ACCESS
  • Locked
    11.  Exercise: Concatenate a String of Numbers
    3m 19s
    During this video, you will learn how to use StringBuilder to concatenate the values of particular numeric operations. 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 100 users Rating 4.7 of 100 users (100)
Journey Java Journey
Rating 4.5 of 8 users Rating 4.5 of 8 users (8)
Rating 4.7 of 84 users Rating 4.7 of 84 users (84)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.6 of 343 users Rating 4.6 of 343 users (343)
Rating 4.6 of 148 users Rating 4.6 of 148 users (148)
Rating 4.6 of 227 users Rating 4.6 of 227 users (227)