Avaya interview question

Questions based on string literal pool concept and immutable class in java.