About 203,000 results
Open links in new tab
  1. Immutable Objects in Java - Baeldung

    May 1, 2025 · In this tutorial, we’ll learn what makes an object immutable, how to achieve immutability in Java, and what advantages come with doing so. 2. What’s an Immutable …

  2. Mutable and Immutable Objects in Java - GeeksforGeeks

    Jul 23, 2025 · Mutable class objects allow changes to their state after initialization, while immutable class objects do not. Mutable class objects provide methods to modify their content, …

  3. Immutable Objects (The Java™ Tutorials > Essential Java Classes ...

    An object is considered immutable if its state cannot change after it is constructed. Maximum reliance on immutable objects is widely accepted as a sound strategy for creating simple, …

  4. Immutable Class in Java – Complete Guide with Examples

    Sep 9, 2025 · Immutable objects are widely used in multi-threaded environments because they are inherently thread-safe and don’t require synchronization. Why Use Immutable Class? …

  5. What Does Immutable Mean in Java? Complete Guide with …

    Aug 29, 2025 · In Java programming, immutability refers to the characteristic of an object whose state cannot be modified after it has been created. Once an immutable object is instantiated, …

  6. Working with Immutable Objects in Java | Medium

    Mar 13, 2025 · Learn how Java achieves immutability, why String is immutable, how to create custom immutable classes, and how final fields help lock in values.

  7. Understanding Immutable Objects in Java | Code Thoughts

    Dec 26, 2024 · Explore advanced Java concepts with this in-depth guide to understanding immutability. Learn how immutability enhances thread safety, performance, and design in Java …

  8. Java Immutable: A Comprehensive Guide - javaspring.net

    Jul 2, 2025 · An immutable object is an object whose state cannot be modified after it is created. This means that all the fields of an immutable object are set at the time of creation and there …

  9. Immutable Objects in OOP – How to Design and Use in Java

    Aug 7, 2025 · Learn how to design and use immutable objects in Java for better code safety, thread-safety, and maintainability in modern OOP applications

  10. How to Create an Immutable Class in Java - DigitalOcean

    Aug 7, 2025 · Learn how to define immutable classes in Java, why immutability matters, and how to build thread-safe, robust applications using immutable objects.