Java Programming
primer-original-v2mediumJava Programming05 Regular Expressionprimer-original-v2

Which of the following text when matched with the regular expression [a-zA-Z&&[^aeiou]]+ will return true?

Answer options

A
Good
B
must
C
My
D
cry

Correct answer: My

Explanation

Quick AnswerThe correct answer is My because it directly addresses the core logic of Java Programming.

This question has been retained as-is due to its unique context.

Related Java Programming questions

Practice more Java Programming questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.