What is an immutable class? An immutable class once instantiated cannot be modified. For example, String is immutable in Java. What is meant by the statement; An immutable class cannot be modified? Let’s try to understand. Once a java.lang.String object