Computer Science, asked by ashokbaskey1999, 1 month ago

what is interned string?​

Answers

Answered by ishitachanda93
3

Answer:

String Interning is a method of storing only one copy of each distinct String Value, which must be immutable. By applying String. intern() on a couple of strings will ensure that all strings having the same contents share the same memory.

Explanation:

Hope it help you.

Similar questions