Solved

Which of the Following Options Could Be Used as a Terminating

Question 43

Multiple Choice

Which of the following options could be used as a terminating condition for a recursive method that finds the middle character of a String with any number of characters?
i.the length of the String is 1
II.first and last String characters match
III.the String is not empty


A) I only
B) I and III only
C) I, II and III
D) II only

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions