Mapping Relationships in Java: Working with Interfaces & Class Loaders

Java SE 15
  • 13 Videos | 1h 50m 26s
  • Includes Assessment
  • Earns a Badge
An interface is effectively a class in which all methods are public and abstract by default. Interfaces are ubiquitous in Java libraries and frameworks because they're such a great way of defining APIs. Use this course to learn how to get the most out of these abstract classes. Explore how a class can implement an interface and how Java supports multiple inheritance of interfaces, even though multiple inheritance of other base classes is disallowed. Move on to examine a case study that brings together the different aspects of inheritance used in this course and through which you'll implement your own class loader to load a Java .class file. By the end of this course, you'll be able to use interfaces to define and implement APIs as well as inheritance for advanced Java tasks, such as implementing your own custom class loader.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    recall the characteristics of interfaces and interface methods
    implement interface methods in class definitions
    define fields in an interface and recall the modifiers applied to these fields
    identify Java enforcements and checks for interface method implementations
    specify default implementations for interface methods
    define variables using interface types
  • recall the use case for class loaders and list the class loader hierarchy
    access and use class loaders in Java
    use class loaders to manually load classes
    create a custom class loader with the right method implementations
    use a custom class loader to load user-defined classes
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 32s
    UP NEXT
  • Playable
    2. 
    Characterizing Interfaces and Interface Methods
    11m 15s
  • Locked
    3. 
    Implementing Interface Methods
    5m 11s
  • Locked
    4. 
    Creating Fields in Interfaces
    10m 19s
  • Locked
    5. 
    Enforcing Method Implementations for Interfaces
    10m 59s
  • Locked
    6. 
    Specifying Interface Method Default Implementations
    6m 54s
  • Locked
    7. 
    Defining Variables of Interface Types
    10m 58s
  • Locked
    8. 
    Identifying Class Loader Use Cases and Hierarchy
    7m 17s
  • Locked
    9. 
    Using Class Loaders
    11m 10s
  • Locked
    10. 
    Manually Loading Classes
    8m 48s
  • Locked
    11. 
    Creating Custom Class Loaders
    10m 58s
  • Locked
    12. 
    Loading Classes Using a Custom Class Loader
    7m 51s
  • Locked
    13. 
    Course Summary
    1m 45s

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.