Hi,
String has a behaviour such that if you declare the String like
String str1 = "shakthi"; This will have immutable behaviour means it will save in a String constant pool and works like a...