After Java introduced the Java 8 version, the primary structure of the language shifted from the original OOPS concepts to functional programming. Java, originally, is an object-oriented programming language. It works on four major paradigms: encapsulation, polymorphism, abstraction, and inheritance. Working on these four paradigms means the entire Java language revolves around the functionality of objects. A class defines an object and its properties along with functions that call out its behavior. But with the advent of Java 8, the structure is based more on behavior than objects.
Read More to find out if Java is a Functional Language: