All immutable types in java
There are immutable types in Java. And if you pass an immutable object to a method, it won't be changed after calling that method even if it's value was changed in that method. I know that all primitives are immutable. And `String` is immutable too.<br/>
I wrote a simple code for checking and it seems that wrapper classes for primitives are immutable too. Can anybody list all immutable types in java?
All immutable types in java
===

There are immutable types in Java. And if you pass an immutable object to a method, it won't be changed after calling that method even if it's value was changed in that method. I know that all primitives are immutable. And `String` is immutable too.<br/>
I wrote a simple code for checking and it seems that wrapper classes for primitives are immutable too. Can anybody list all immutable types in java?