Java Interview Question Series 1
Q1. How to create Immutable class in Java?
Immutable class in java 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. We can…