what is the length of empty string
Answers
Answered by
0
Answer:
An empty Java String is considered as the not null String that contains zero characters, meaning its length is 0. However, a Java String that might only contain the white-space character is not considered as empty, it is considered to contain one character and its length is equal to 1.
Similar questions