Java String intern Method

Java String intern Method 1

The Java String intern method is one of the String Methods, which is to return the canonical representation of the string object. In this article, we will show how to write the String intern method with an example. The syntax of the intern in the Java Programming language is public String intern(); // It will … Read more