Ishwariyabooraja·Nov 6, 2023STRING LITERAL POOLStrings are a sequence of characters. In Java, strings are objects. To represent them, String class is used. They are implemented as an…