answersLogoWhite

0

An immutable object is classed in Java programming as an object that cannot be changed after it is made. YouTube has videos that can be viewed on this subject as well as Vimeo.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is a sentence for the word immutable?

There are certain immutable truths in life.


When was Play the Immutable Truth created?

Play the Immutable Truth was created in 2004.


Are Wrapper classes immutable or mutable?

In java.lang all Wrapper classes are immutable .


Write a sentence for the word immutable?

unchangeable, never changing. Immutable object is an object whose state cannot be modified after it is created


What is immutable in a sentence?

The Constitution is immutable; however, amendments can be added to alter the previous statements.


What is an immutable image?

A special case of the more general concept of an immutable object - an object that cannot be modified after it is created.For the case of an immutable image, you can read the image but not change it.


How should you use immutable in a sentence?

Until someone invents time-travel, history will be immutable.


What term describes a field created to store a literal whose value will never change?

A field that doesn't change is informally called "constant," or more formally "immutable." This is in contrast to fields that can change with are called "mutable." The main importance Mutability is in multi-threaded programs, where the program can be executing in multiple places at once. A common multi-threading bug is one thread using a mutable object while another thread changes it without realizing the first thread is still using the object. A solution is to make the object immutable and create a new immutable object when the values change. That way threads may get different objects but they can count on them not to change. Python does not have a way to guarantee an arbitrary object is immutable. You have to enforce it by programming practice. Python does have an immutable list called a "tuple."


What is the user of stringbufer class explain how it is different from a string class?

A StringBuffer is similar to a String with a few differences:String objects are immutable while StringBuffer objects can be modifiedIf your code involves string manipulation, string buffer is faster than strings


What is immutable means in java?

immutable means we can't change the content of string object Example:String name = "Tommy"; String fullName = name + "Junior";Here when we declared fullName you would expect it to be appended to the system memory location where the variable name is saved. But in Java it does not happen this way.Here a new variable fullName would be created in memory and the value would be saved there.This is termed as immutable. i.e., String objects cannot be modified in memory once they are created. You may be able to view the change in your program but new String objects would be created in the system memory.Tip:If you want to modify your String objects, then it is advisable to use a StringBuffer instead of a String. StringBuffer allows us to modify string objects and they would be saved in only one place in the system memory. Hence the memory utilization of the system would be much better than the normal String.


How can you show one billion objects?

The human eye cannot discriminate between 1 billion objects shown at one time. However, if you watch a film on a computer, for example, you will see more than a billion pixels.


What is a word that has muta in it?

* mutant * mutate * immutable