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.
In java.lang all Wrapper classes are immutable .
It means that something can be changed after it is created. Immutable means that it can't be changed.
You can download the image from rediff mail. Then can insert this image as image source.
Define your own class which will have all members final & methods to return values of variable only /* javavishal.blogspot.com This code shows the way to make a class immutable */ // The immutable class final class VImmutableClass { // instance var are made private & final to restrict the access private final int prop1; // Constructor where we can provide the constant value public VImmutableClass(int vprop1) { prop1 = vprop1 } // provide only methods which return the instance var // & not change the values public int getProp1() { return prop1; } } // class MyImmutable public class MyImmutable { public static void main(String[] args) { VImmutableClass obj1 = new VImmutableClass(3); System.out.println(obj1.getProp1()); // there is no way to change the values of count & value- // no method to call besides getXX, no subclassing, no public access to var -> Immutable } }
<script type="text/javascript"> var image = new Image; image.src = "imageurl.png"; document.body.appendChild(image); </script>
There are certain immutable truths in life.
In java.lang all Wrapper classes are immutable .
Play the Immutable Truth was created in 2004.
unchangeable, never changing. Immutable object is an object whose state cannot be modified after it is created
The Constitution is immutable; however, amendments can be added to alter the previous statements.
Until someone invents time-travel, history will be immutable.
No, it is not.
* mutant * mutate * immutable
The word meaning without change is "constant." It refers to something that remains the same over time and does not vary or fluctuate.
flexible, invariable, rigid
c.not changeable
Some laws are immutable, no matter how hard lawyers and their clients want to challenge them.Civilization has always been challenged by the immutableforces of nature.