Navnit Rajnavnitraj.hashnode.dev·Jan 14, 2024Java 8 New featuresJava 8 introduced several new features and enhancements to the language, focusing on improving code readability, conciseness, and support for functional programming. Here are some key features with examples: 1. Lambda Expressions Lambda expressions i...28 readsjava, java8, programming, code, coding, beginner, stream api, api,
Sajal Raj Gautamblog.sajalrg.com·Dec 31, 2023Consumer interface in JavaThe Consumer interface was introduced in Java 1.8. Below is a an excerpt from the official documentation Represents an operation that accepts a single input argument and returns no result. Unlike most other functional interfaces, Consumer is expecte...59 readsconsumer java