If an IndexofAny method is passed an array of characters, _______.

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
If an IndexofAny method is passed an array of characters, _______.

1.It finds the first occurrence of each letter in the string

2.It generates an error

3.It searches for the first occurrence of the sequence of characters

4. It searches for the first occurrence of any of the characters in the string


More MCQS Questions and answers

R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!