O'Reilly logo
  • Brandon Reeser thinks this is interesting:

Designing an Interface

While studying for the OCA, you learned about Java interfaces, including how to declare, extend, and implement them. We touched on some of these topics in Chapter 1, “Advanced Class Design,” when we presented the @Override annotation. In this chapter, we will review interfaces in more detail, although we recommend returning to your OCA study material for a more detailed explanation if you are unfamiliar with these rules.

As you may recall, an interface is an abstract data type, similar to a class that defines a list of public abstract methods that any class implementing the interface must provide. An interface may also include constant public sta...


Cover of OCP Oracle® Certified Professional Java® SE 8 Programmer II


Team, please read this chapter and familiarize yourself with its concepts before we begin the new project next week