Java Interfaces: Functional, Default, Static and Private Methods (1Z0-831)
A Java interface is a reference type that declares a contract of public abstract methods and constants, which classes take on with implements, and which can also carry default, static and private methods with bodies. This lesson covers objective 3.6 of the Java SE 25 Developer exam (1Z0-831): the modifiers Java adds to interface members, how constants behave, the rules for default methods and the conflicts between them, why static interface methods are never inherited, where private helpers can be called, and how to tell whether an interface is functional, which decides whether a lambda can implement it.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read 48 more lessons — your progress is saved.
Source
This lesson covers the "Applying Object-Oriented Principles in Java Programs" domain of the official 1Z0-831 exam guide. Vendors revise their guides — check the source for the current version.
- Java SE 25 Developer Professional (1Z0-831) exam page and topics — Oracle University
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.