Java guides
Every Java article in the library in slug order, with the full list on one page so nothing is buried behind pagination.
1,076 guides · Showing 801–1,000 · Page 5 of 6
- Java Runtime Binding and Dynamic Dispatch
- Java Runtime Polymorphism: How Dynamic Dispatch Works
- Java RuntimeException: Unchecked Exceptions Explained
- Java Sealed Class Inheritance: Syntax and Rules
- Java Sealed Class Pattern Matching Explained
- Using Java Sealed Classes to Control Inheritance
- Java Sealed Interface Implementation
- Using Java Sealed Interfaces for Exhaustive Pattern Matching
- Java Sealed Keyword: Restricting Inheritance
- Java Sealed vs Final: Key Differences
- Java Secure Random: Using SecureRandom Instead of Random
- Using Semaphore in Java for Concurrency Control
- Java Sequential Stream: How the Default Stream Mode Works
- Java Serializable: Implementation and Safe Usage
- Java serialVersionUID: Purpose and Best Practices
- Java Set Interface: Implementation Choices and Behavior
- Java Set Methods: Usage and Behavior
- Java Set.of(): Creating and Using Sets
- Java Set vs List: Choosing the Right Collection
- Java Set vs Map: When to Use Each Collection
- Java Shallow Copy vs Deep Copy: Key Differences
- Java Shift Operators: Signed and Unsigned Bit Shifts
- Java Short Type: Range, Usage, and Pitfalls
- Java Single Inheritance Explained
- Java Stack Class: Usage, Tradeoffs, and Examples
- Java Stack isEmpty() Method Explained
- Java Stack push, pop, and peek: Core LIFO Operations
- Java Stack: Usage, Methods & Concurrency
- Java Stack vs ArrayDeque: Choosing the Right Stack Implementation
- Java Stack vs Deque: Choosing the Right LIFO Structure
- Java start vs run: Thread Behavior Explained
- Java Static Binding vs Dynamic Binding Explained
- Java static block: When It Runs and How to Use It
- Java Static Class: What It Means and How to Use It
- Java Static Fields: Lifecycle, Memory, and Thread Safety
- java static final: Semantics and Practical Use
- Java static final vs final: Key Differences
- Java Static Import: How and When to Use It
- Java Static Initialization Block: Syntax and Behavior
- Java Static Initialization Order Explained
- Java Static Interface Method: Syntax and Use Cases
- Understanding the java static Keyword
- Java Static Member Access: Class vs Instance
- Java Static Method Hiding: How It Works and Why It Matters
- Java Static Method Reference: Syntax and Usage
- Java Static Method: Usage and Behavior
- Java Static Nested Class: Syntax and Use Cases
- Java Static vs Instance: Key Differences
- Java Static vs Instance Method: Key Differences
- Java Stream allMatch: Usage, Short-Circuiting, and Edge Cases
- Java Stream anyMatch: Usage, Short-Circuiting, and Pitfalls
- Java Stream anyMatch vs allMatch: Key Differences
- Java Stream API: Practical Patterns and Pitfalls
- Java Stream Closed Error: How to Fix It
- Using Java Stream collect() to Build Collections
- Java Stream count(): Counting Elements
- Java Stream Creation: From Collections, Arrays, and Generators
- Using Java Stream distinct() for Deduplication
- Java Stream filter(): Usage, Predicates, and Performance
- Java Stream filter vs map: Key Differences
- Java Stream findAny: Usage and Performance
- Using Java Stream findFirst: Syntax, Behavior, and Pitfalls
- Java Stream findFirst vs findAny: Key Differences
- Java Stream flatMap: Flatten Nested Collections
- Java Stream forEach: Usage, Pitfalls, and Performance
- Understanding Java Stream forEachOrdered
- Java Stream Intermediate Operations Explained
- Java Stream Lazy Evaluation Explained
- Using Java Stream limit to Control Stream Size
- Java Stream map: Transforming Elements with Examples
- Java Stream map vs flatMap: Key Differences
- Java Stream min and max: Finding Extremes
- Java Stream noneMatch: Syntax and Short-Circuiting
- Java Stream.of: Creating Streams from Fixed Values
- java stream peek: Inspect Elements in a Pipeline
- Java Stream Reduce: Syntax, Behavior, and Pitfalls
- Java Stream reduce vs collect: Key Differences
- Java Stream Reuse: Why Streams Are Single-Use
- Java Stream skip: How to Skip Elements in Streams
- Java Stream Sorted: Ordering Streams with Comparators
- Java Stream Terminal Operations: How They Work
- Java Stream toList: Usage and Key Differences
- Java Stream toList vs Collectors.toList
- Java Stream vs Parallel Stream: When to Use Each
- Java Stream vs ParallelStream: Choosing the Right Pipeline
- Java String Array: Declaration, Initialization, and Usage
- Java String charAt: Syntax, Edge Cases, and Performance
- Java String compareTo: Usage, Behavior, and Pitfalls
- Java String Comparison: == vs equals() vs compareTo()
- Java String Concat: Choosing the Right Approach
- Java + String Concatenation: Choosing the Right Approach
- Java String Concatenation: Choose the Right Method
- Java String Contains: Checking Substrings Safely
- Java String Creation: Literals vs new String()
- Java String endsWith: Syntax, Edge Cases, Performance
- Java String equals: Compare Strings Correctly
- Java String equalsIgnoreCase: Usage and Pitfalls
- Java String Format: Syntax and Practical Usage
- Java String Immutability: What It Means and Why It Matters
- Java String: Immutability and Memory Behavior
- Java String indexOf: Usage and Edge Cases
- Java String isBlank: Usage and Differences from isEmpty
- Java String isEmpty() Method Explained
- Java String Join: Methods and Examples
- Java String lastIndexOf: Usage and Edge Cases
- Java String Length: Code Units vs Code Points
- Using Java String lines() to Split Text into Lines
- Java String Literal: Syntax, Escaping, and Common Pitfalls
- Java String Literal vs New String: Key Differences
- Java String.matches: How to Use It Effectively
- Understanding the Java String Pool
- Java String Pool vs Heap: Where Strings Live
- Java String == vs equals: Reference vs Value Comparison
- Java String Repeat: Using String.repeat() and Alternatives
- Java String replace: Literal Replacement Without Regex
- Java String replaceAll: Regex Replacement and Pitfalls
- Java String replaceAll Regex: Syntax and Pitfalls
- Java String split: Syntax, Edge Cases, and Performance
- Java String.split() Regex: Splitting with Patterns
- Java String startsWith: Syntax and Common Pitfalls
- Java String strip: Removing Unicode Whitespace
- java string substring: Syntax, Edge Cases, and Memory Behavior
- Java String to Char Array: Conversion and Tradeoffs
- Convert a Java String to Double: Syntax and Pitfalls
- Java String to int: Parse and Handle Errors
- Java String toLowerCase: Usage and Locale Pitfalls
- Java String toUpperCase(): Usage, Locale, and Edge Cases
- Java String trim: Remove Leading and Trailing Whitespace
- Java String.valueOf: Converting Values to Strings
- Java String vs StringBuilder: When to Use Each
- Java StringBuffer: Usage, Thread Safety, and Trade-offs
- Java StringBuilder: Efficient String Building
- Java StringBuilder append: Syntax and Performance
- Java StringBuilder Capacity Explained
- Java StringBuilder delete: Remove Characters Efficiently
- Java StringBuilder insert: Syntax and Examples
- Java StringBuilder length: How to Get the Character Count
- Java StringBuilder replace: In-Place Substring Editing
- How to Use StringBuilder.reverse() in Java
- Java StringBuilder vs StringBuffer: Which to Use
- Java Super Constructor: Syntax and Common Pitfalls
- Accessing Hidden Fields with the super Keyword in Java
- Java ? super: Lower-Bounded Wildcards Explained
- Java super Method: Calling Parent Class Methods
- Java Superclass Subclass Basics and Casting
- Java Supplier: Usage, Syntax, and Common Patterns
- Understanding Java Suppressed Exceptions in Practice
- Java SuppressWarnings: When and How to Use It
- Java Switch Arrow Syntax: A Developer's Guide
- Java switch case: Syntax, Expressions, and Pattern Matching
- Java Switch Default: Syntax, Fallthrough, and Edge Cases
- Using Java Switch with Enum: Syntax and Patterns
- Java Switch Expression
- Java Switch Expression with Enum Types
- Java switch expression multiple cases
- Java Switch Expression Pattern Matching
- Java Switch Expressions: Syntax and Usage
- Java Switch Multiple Labels: Grouping Cases
- Java Switch Pattern Matching
- Java Switch Statement: Syntax and Modern Features
- Java Switch Statement vs Switch Expression
- Switch on String in Java: Syntax, Behavior, and Pitfalls
- Java Switch Expressions: How the yield Keyword Produces Values
- Java Switch Yield: Using yield in Switch Expressions
- Java Synchronized Block: Scope, Locking, and Tradeoffs
- How the Java synchronized Keyword Protects Shared State
- Java Synchronized Method: Locking Behavior and Use Cases
- Java Synchronized Method vs Block: Lock Scope
- Java synchronized vs Lock: Key Differences
- java synchronized vs volatile: Choosing the Right Concurrency Tool
- Java System.arraycopy: How to Copy Arrays Efficiently
- Java @Target Annotation: Restricting Where Annotations Apply
- Java Text Block Indentation: How to Control It
- Java Text Block Syntax: Multiline Strings in Practice
- Java Text Block vs String Literal: Key Differences
- Java this() Constructor Chaining: Rules, Examples, and Pitfalls
- The Java this Keyword: Accessing Instance Fields
- Java this Keyword: Usage and Common Pitfalls
- How the 'this' Keyword Works in Java Methods
- Java this vs super: Key Differences and Usage
- Java Thread Class: Creating and Managing Threads
- Java Thread Interrupt: How It Works and How to Use It
- Java Thread Join: Waiting for Threads to Finish
- Java Thread Lifecycle: States and Transitions
- Java Thread Pool: How Executors Behave Under Load
- Java Thread run() vs start(): What's the Difference?
- Java Thread Safety: Synchronization and Atomic Variables
- Java Thread.sleep: Usage, Pitfalls, and Alternatives
- Java Thread Start: How Thread.start() Works
- Java Thread States: Lifecycle and Monitoring
- Java Thread vs Runnable: Which to Use
- Java Threading: Creating and Managing Threads
- Java ThreadLocalRandom: Contention-Free Random Numbers
- Java throw Keyword: How to Throw Exceptions
- Java throw vs throws: Key Differences and Usage
- Java throws Keyword: Declaring Exceptions in Method Signatures
- Java toString Override: Implementation and Pitfalls
- Java transient Keyword: Excluding Fields from Serialization
- Java Transient vs Static Serialization: Key Differences
- Java TreeMap Comparator: Custom Ordering and Null Handling