Instead of passing only numbers or objects to a method, behavior parameterization lets you pass an action or test rule itself. Java models a lambda's type via any @FunctionalInterface—an interface with exactly one abstract method.
More lessons in Complete Core Java