Home / Programming MCQs / JavaScript MCQs / Question

R

Ram Sharma • 193.72K Points
Coach

Q. What will be the output of the following JavaScript code?

Code:
System.out.println( Pattern.matches("[lfc]+", "f") );
(A) true
(B) false
(C) undefined
(D) 1

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.