title: java: advantages of immutable objects in examples
body: <p>give me please examples where I could see advantages of immutable objects. Info I found in internet are concentrated in threads. I don't know about threads yet. would be great if the examples would use simple principles</p>