SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Applying Object-Oriented Principles in Java Programs

Java Interfaces: Functional, Default, Static and Private Methods (1Z0-831)

16 min read1Z0-831 · Applying Object-Oriented Principles in Java ProgramsUpdated

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.

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?