Q26
In Java, what is the purpose of the isEmpty() method of a String object?
A.
To check if the string is empty.
AnswerB.
To remove leading and trailing whitespace.
C.
To concatenate two strings.
D.
To reverse the string.
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board