Java guides
Every published Java guide, newest first, with practical examples you can copy into your own project.
3,965 guides across 14 topics
Topics
Popular Java guides
Most readLatest Java guides
Page 38 of 109Java Lambda with Collection: Stream Operations
Learn how to apply lambda expressions to Java collections with the Stream API, including filter, map, collect, method references, and performance considerations.
Java Lambda Expression Body: Expression and Block Forms
java lambda expression body: Understand the two forms of a Java lambda expression body: expression bodies with implicit return and block bodies with explicit return, i...
Using Java Lambda Block Body Syntax
Learn how to use Java lambda block bodies: syntax, return statements, variable scope, effectively final variables, exception handling, common mistakes, and practical code examples.
Java Lambda Return Value: Syntax and Usage
Learn how Java lambda return values work: functional interface contracts, single-expression vs block bodies, type inference, common pitfalls, and practical examples.
Java Lambda Multiple Parameters: Syntax and Usage
Learn how to write Java lambda expressions with multiple parameters: syntax rules, functional interfaces, type inference, common mistakes, and practical patterns.
Java Lambda Parameters: Syntax and Pitfalls
Learn how Java lambda parameters work, including syntax, type inference, capture rules, method references, and common pitfalls.
Java Lambda Syntax: A Practical Guide
Understand Java lambda syntax with practical code examples: functional interfaces, target typing, effectively final variables, method references, and common mistakes.
Java Lambda Expression: Syntax and Practical Use
Learn Java lambda expression syntax, functional interfaces, variable capture, and practical patterns for writing concise, maintainable code.
Java Generic Method Type Inference in Practice
java generic method type inference: Learn how Java infers type arguments in generic methods, when to use explicit type witnesses, and how inference affects readability...
Java Generic Array Creation: Why It Fails and How to Fix It
Explains why Java forbids generic array creation and shows practical workarounds using List, reflection, and unchecked casts.