The method that performs the search-and-replace operation to strings for pattern matching is
A. searchandreplace()
B. add()
C. edit()
D. replace()
Answer: Option B
A. searchandreplace()
B. add()
C. edit()
D. replace()
Answer: Option B
The behaviour of the instances present of a class inside a method is defined by
A. Method
B. Classes
C. Interfaces
D. Classes and Interfaces
The keyword or the property that you use to refer to an object through which they were invoked is
A. from
B. to
C. this
D. object
The basic difference between JavaScript and Java is
A. There is no difference
B. Functions are considered as fields
C. Variables are specific
D. Functions are values, and there is no hard distinction between methods and fields
Is the answer Option B or Option D?