Computer Science, asked by Prayaga83, 1 year ago

What does intern() method in java?

Answers

Answered by PiyushSinghRajput1
2

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. When the intern() method is executed then it checks whether the String equals to this String Object is in the pool or not.

Answered by DynamicPlayer
1

Explanation:

Python is a general-purpose coding language—which means that, unlike HTML, CSS, and JavaScript, it can be used for other types of programming and software development besides web development. That includes back end development, software development, data science and writing system scripts among other things.

Similar questions