Q:

If two arguments are passed to the indexOf() function then ___________________

0

If two arguments are passed to the indexOf() function then ___________________


  1. Second argument indicates the occurrence number of specified character from starting
  2. Second argument indicates the occurrence number of specified character from end
  3. Second argument indicates the index of the character in first argument
  4. Second argument indicates the index of the character from the last of the string

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(a).Second argument indicates the occurrence number of specified character from starting

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING INBUILT CLASSES MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
The string class deals with string of only charact... >>
<< Function replace() accepts _____________ arguments...