Java Programming: Working with Strings & Wrapper Objects
Java
| Intermediate
- 11 videos | 1h 18m 56s
- Includes Assessment
- Earns a Badge
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 courseCompare objects for semantic equalityCreate string objects using different input arguments and forms of memory allocationDifferentiate between equality tests based on the == operator and .equalsInitialize local variables of primitive as well as non-primitive typesUse the stringbuffer object to perform string operations
-
Differentiate between the stringbuffer and the stringbuilder object, and determine the right choice for your specific use-caseCreate wrapper objects such as integer, float, etc. to encapsulate primitive (non-object) data typesPerform type conversions using methods available in various wrapper objectsExtract 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 40sLearn how to compare objects for equality of meaning. FREE ACCESS
-
10m 53sDuring this video, you will learn how to create String objects using different input arguments and forms of memory allocation. FREE ACCESS
-
9m 48sIn this video, you will differentiate between equality tests based on the == operator and the .equals() method. FREE ACCESS
-
10m 4sIn this video, you will learn how to initialize local variables of primitive and non-primitive types. FREE ACCESS
-
10m 29sIn this video, you will learn how to use the StringBuffer object to perform string operations. FREE ACCESS
-
8m 47sLearn how to differentiate between the StringBuffer and the StringBuilder object, and determine the right choice for your specific use case. FREE ACCESS
-
6m 56sIn this video, you will learn how to create wrapper objects such as Integer, Float, etc. to encapsulate primitive (non-object) data types. FREE ACCESS
-
6m 44sIn this video, find out how to perform type conversions using methods available in various wrapper objects. FREE ACCESS
-
6m 26sIn this video, learn how to extract primitive data types back from wrapper objects of type Integer, Float, etc. FREE ACCESS
-
56sIn 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.