String is immutable or final in Java

String is immutable or final in Java? One of the Interviewers favourite question, How String plays an important role in every program, similarly in every interview questions on String will be there 🙂 😉 . Let’s check the reasons behind why String is immutable of final. Security: String is used in many places like in…

Continue reading