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

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

Posted Date:-2022-08-15 04:12:02


More MCQS Questions and answers

Search
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!