C-17-Q068mediumsingle_mcq
The alternative method is designed to handle:
The alternative method is designed to handle:
- aOnly lowercase letters
- bOnly uppercase letters
- cBoth lowercase and uppercase English letters
- dOnly digits
ব্যাখ্যা
By including both lowercase and uppercase vowels in the collection (or normalising case), the alternative method correctly classifies letters regardless of case. This is its advantage over the case-sensitive match version.