Java Programming: Working with Strings & Wrapper Objects

Java SE 13    |    Intermediate
  • 11 Videos | 1h 23m 26s
  • Includes Assessment
  • Earns a Badge
Likes 78 Likes 78
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.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    compare objects for semantic equality
    create String objects using different input arguments and forms of memory allocation
    differentiate between equality tests based on the == operator and .equals
    initialize local variables of primitive as well as non-primitive types
    use the StringBuffer object to perform string operations
  • differentiate between the StringBuffer and the StringBuilder object, and determine the right choice for your specific use-case
    create wrapper objects such as Integer, Float, etc. to encapsulate primitive (non-object) data types
    perform type conversions using methods available in various wrapper objects
    extract primitive data types back from wrapper objects of type Integer, Float, etc.
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 14s
    UP NEXT
  • Playable
    2. 
    Comparing Objects
    5m 40s
  • Locked
    3. 
    Creating and Comparing Strings
    10m 53s
  • Locked
    4. 
    The == operator vs. .equals()
    9m 48s
  • Locked
    5. 
    Local Variables
    10m 4s
  • Locked
    6. 
    StringBuffer Objects
    10m 29s
  • Locked
    7. 
    StringBuilder Objects
    8m 47s
  • Locked
    8. 
    Wrapper Objects
    6m 56s
  • Locked
    9. 
    Type Conversions Using Wrappers
    6m 44s
  • Locked
    10. 
    Extracting Primitive Types from Wrappers
    6m 26s
  • Locked
    11. 
    Course Summary
    56s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 179 Likes 179  

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 260 Likes 260  
Likes 1602 Likes 1602  
Likes 64 Likes 64