A Admin • 828.70K Points Coach Q. In Java, what is the purpose of the isEmpty() method of a String object? (A) To check if the string is empty. (B) To remove leading and trailing whitespace. (C) To concatenate two strings. (D) To reverse the string. Correct Answer - Option(A) Views: 21 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.