Aryan PrajapatKnowledge Contributor
Why is it said that the length() method of String class doesn't return accurate results?
Why is it said that the length() method of String class doesn't return accurate results?
Since this char [] array is used by the Java String class internally, the length variable cannot be made public.