Hi friends,
I would like to know,
Why String is final in Java?
Hi friends,
I would like to know,
Why String is final in Java?
The String class in the java. lang package is a final class for just this reason. The String class is so vital to the operation of the compiler and the interpreter that the Java programming system must guarantee that whenever a method or object uses a String they get exactly a java.
Bookmarks