Java SE 11: Inheritance, Lists, Inference, & Lambda Expressions
Java SE 11
| Beginner
- 12 Videos | 1h 56s
- Includes Assessment
- Earns a Badge
Explore the use of inheritance through interfaces and interface casting. During this course, you will explore the functions of key Java elements. Key subject areas include the following: how to override the toString method, how to understand the Multiple Inheritance Dilemma, distinguish between interfaces and abstract classes and implement a Class Interface. Other topics include how to cast to an interface reference to allow object method access; how to study the array list class, and store objects with an array list. You'll also learn how to concatenate two arrays into a single ArrayList, convert an array to an ArrayList, and use the Stack collection, to push and pop objects. As you progress, you will observe how to employ the local variable type inference feature, to declare local variables, using var. Conclude by writing a simple lambda expression that consumes a predicate.
WHAT YOU WILL LEARN
-
override the toString method of the Object classdistinguish between interfaces and abstract classesimplement an interface in a classcast to an interface reference to allow access to an object methoddescribe the benefits of the ArrayList classuse an ArrayList to store objects
-
concatenate two arrays into a single ArrayListconvert an array to an ArrayListuse the Stack collection to push and pop objectsuse the local variable type inference feature to declare local variables using varwrite a simple lambda expression that consumes a predicatedisplay the contents of an ArrayList, relying on the toString override
IN THIS COURSE
-
1.Overriding the toString Method6m 21sUP NEXT
-
2.The Multiple Inheritance Dilemma5m 9s
-
3.Implementing a Class Interface3m 2s
-
4.Interface Reference Casting6m 9s
-
5.Introduction to ArrayList4m 24s
-
6.Using an ArrayList to Store Objects5m 36s
-
7.Array Concatenation4m 1s
-
8.Converting an Array to an ArrayList4m 32s
-
9.Using the Stack6m 1s
-
10.Type Inference Using var6m 18s
-
11.Lambda Expressions and Predicates6m 12s
-
12.Exercise: Displaying the Contents of a List3m 13s
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.