For example
System.out.println("a".substring(1) == "");
will return false.
However, it does return an instance of Stringsuch that println will display nothing. What is it and how to detect it, then?
For example
System.out.println("a".substring(1) == "");
will return false.
However, it does return an instance of Stringsuch that println will display nothing. What is it and how to detect it, then?