WHAT IS THE RETURN TYPE OF ISEMPTY()?
Answers
Answered by
1
Explanation:
The declared return type for the isEmpty method is boolean , and the implementation of the method returns the boolean value true or false , depending on the outcome of a test.
Answered by
7
Answer:
The java string isEmpty() method checks if this string is empty or not. It returns true, if length of string is 0 otherwise false. In other words, true is returned if string is empty otherwise it returns false.
Similar questions