Computer Science, asked by sukhman4086, 1 year ago

Java String Interning - What, Why and When?

Answers

Answered by PiyushSinghRajput1
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 DynamicPlayer
1

  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