Mapping Relationships in Java: Working with Interfaces & Class Loaders

Java    |    Expert
  • 13 videos | 1h 44m 56s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 56 users Rating 4.4 of 56 users (56)
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

  • 1m 32s
  • 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 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.5 of 36 users Rating 4.5 of 36 users (36)
Rating 4.6 of 37 users Rating 4.6 of 37 users (37)
Rating 4.5 of 141 users Rating 4.5 of 141 users (141)