concept interview in category java

appears as: interviews
OCA Java SE 8 Programmer I Certification Guide

This is an excerpt from Manning's book OCA Java SE 8 Programmer I Certification Guide.

6.2.1. Need for using interfaces

You need interfaces to enable multiple classes to support a set of behaviors. Let’s work with the example used in section 6.1. In this example, Employee is the base class and classes Programmer and Manager subclass Employee. Imagine that your boss steps in and states that Programmer and Manager must support additional behaviors, as listed in table 6.1.