Java String Interning - What, Why and When?
Answers
Answered by
3
String Interning is a method of storing only one copy of each distinct String Value, which must be immutable. ... intern() method : In Java, when we perform any operation using intern() method, it returns a canonical representation for the string object. A pool is managed by String class.
Answered by
1
- Netflix relies on a mix of well-known packages and in-house software libraries, with Python seemingly used in nearly every corner of the business, which is largely run on the Amazon Web Services (AWS) cloud platform.....!!
Similar questions
Math,
8 months ago
Sociology,
8 months ago
Physics,
8 months ago
Computer Science,
1 year ago
English,
1 year ago