Java SE 11: Inheritance, Lists, Inference, & Lambda Expressions

Java SE 11
  • 12 Videos | 1h 6m 26s
  • Includes Assessment
  • Earns a Badge
Likes 107 Likes 107
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 class
    distinguish between interfaces and abstract classes
    implement an interface in a class
    cast to an interface reference to allow access to an object method
    describe the benefits of the ArrayList class
    use an ArrayList to store objects
  • concatenate two arrays into a single ArrayList
    convert an array to an ArrayList
    use the Stack collection to push and pop objects
    use the local variable type inference feature to declare local variables using var
    write a simple lambda expression that consumes a predicate
    display the contents of an ArrayList, relying on the toString override

IN THIS COURSE

  • Playable
    1. 
    Overriding the toString Method
    6m 21s
    UP NEXT
  • Playable
    2. 
    The Multiple Inheritance Dilemma
    5m 9s
  • Locked
    3. 
    Implementing a Class Interface
    3m 2s
  • Locked
    4. 
    Interface Reference Casting
    6m 9s
  • Locked
    5. 
    Introduction to ArrayList
    4m 24s
  • Locked
    6. 
    Using an ArrayList to Store Objects
    5m 36s
  • Locked
    7. 
    Array Concatenation
    4m 1s
  • Locked
    8. 
    Converting an Array to an ArrayList
    4m 32s
  • Locked
    9. 
    Using the Stack
    6m 1s
  • Locked
    10. 
    Type Inference Using var
    6m 18s
  • Locked
    11. 
    Lambda Expressions and Predicates
    6m 12s
  • Locked
    12. 
    Exercise: Displaying the Contents of a List
    3m 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.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 142 Likes 142  
Likes 548 Likes 548