Inspired from functional programming languages, Java Streams API help you write your code in a declarative fashion.