5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

IT Professional Curricula     Software Development Solution Area     Java 2 Programming     Mapping Relationships Using Inheritance and Interfaces
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.

Objectives

Mapping Relationships in Java: Working with Interfaces & Class Loaders

  • 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