Java String intern Method

Java String intern Method 1

The Java 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(); //In order to use … Read more