what is interned string?
Answers
Answered by
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
Environmental Sciences,
3 months ago
English,
3 months ago
English,
3 months ago
Political Science,
5 months ago
Math,
5 months ago
Math,
1 year ago
English,
1 year ago