Up until Java 7, we only had object-oriented features in Java. Java 8 has added many new features. Some of these features are as follows:
- Lambda expressions and functional interfaces
- Default and static methods in interfaces
- The forEach() method in iterable interfaces
- The Java Stream API for bulk data operations on collections
Don't worry if you find this intimidating. We will slowly uncover Java 8 as we progress throughout this book.