Java Programming: Working with Strings & Wrapper Objects

Java    |    Intermediate
  • 11 videos | 1h 18m 56s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 80 users Rating 4.6 of 80 users (80)
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

  • 2m 14s
  • 5m 40s
    Learn how to compare objects for equality of meaning. FREE ACCESS
  • Locked
    3.  Creating and Comparing Strings
    10m 53s
    During this video, you will learn how to create String objects using different input arguments and forms of memory allocation. FREE ACCESS
  • Locked
    4.  The == operator vs. .equals()
    9m 48s
    In this video, you will differentiate between equality tests based on the == operator and the .equals() method. FREE ACCESS
  • Locked
    5.  Local Variables
    10m 4s
    In this video, you will learn how to initialize local variables of primitive and non-primitive types. FREE ACCESS
  • Locked
    6.  StringBuffer Objects
    10m 29s
    In this video, you will learn how to use the StringBuffer object to perform string operations. FREE ACCESS
  • Locked
    7.  StringBuilder Objects
    8m 47s
    Learn how to differentiate between the StringBuffer and the StringBuilder object, and determine the right choice for your specific use case. FREE ACCESS
  • Locked
    8.  Wrapper Objects
    6m 56s
    In this video, you will learn how to create wrapper objects such as Integer, Float, etc. to encapsulate primitive (non-object) data types. FREE ACCESS
  • Locked
    9.  Type Conversions Using Wrappers
    6m 44s
    In this video, find out how to perform type conversions using methods available in various wrapper objects. FREE ACCESS
  • Locked
    10.  Extracting Primitive Types from Wrappers
    6m 26s
    In this video, learn how to extract primitive data types back from wrapper objects of type Integer, Float, etc. FREE ACCESS
  • Locked
    11.  Course Summary
    56s
    In this video, we will summarize the key concepts covered in this course. 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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.7 of 28 users Rating 4.7 of 28 users (28)
Rating 4.5 of 60 users Rating 4.5 of 60 users (60)
Rating 4.5 of 30 users Rating 4.5 of 30 users (30)