Solved

Assuming Strings of the Format: "Robert's Birthday Is 10-22-90

Question 56

Multiple Choice

Assuming strings of the format: "Robert's birthday is 10-22-90"
What does the following regex match?
// create a regular expression
Regex expression("J.*\\d[0-35-9]-\\d\\d-\\d\\d") ;


A) Birthdays that occur in April and that belong to people whose names begin with "J".
B) Birthdays that belong to people whose names begin with "J".
C) Birthdays that do not occur in April and that belong to people whose names begin with "J".
D) None of the above.

Correct Answer:

verifed

Verified

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

Related Questions