What is an immutable class in Java? Immutable class means that once an object is created, we cannot change its content. In Java, all the wrapper classes (like Integer, Boolean, Byte, Short) and String class is immutable. ... No setters(To not have the option to change the value o...
See more
Download the Study24x7 App, so you can connect and collaborate.