Java / Java Multithreading part II
What is effectively immutable in Java?
Instance of classes that are not extensible and has final fields are considered immutable.
Effectively immutable are object that may have non final fields (private) however there may not any means to change its value.
More Related questions...
orWhat is JVM tiered compilation? Types of thread in Java. Is JVM a process or thread? Can you clone a Thread? What is effectively immutable in Java? What is busy spinning in Java? Explain cache coherence protocol.