String class is immutable, so that once it is created a String object
cannot be changed. As string is widely used it create its object in string pool,
so that next time any object of string have same value, it reference to same
literal in string pool.