Q35
What does the subexpression /java(script)?/ result in ?
A.
It matches “java” followed by the optional “script”
AnswerB.
It matches “java” followed by any number of “script”
C.
It matches “java” followed by a minimum of one “script”
D.
None of the mentioned
Answer: Option A
Solution
Answer: Option A
Solution:
The subexpression /java(script)?/ matches “java” followed by the optional “script”.