What can be the parameters for the indexOf method in String class?
Answer options
A
int
B
String
C
double
D
float
Correct answer: int, String
Explanation
Correct answer: int; String.
Correct answer: int, String
Correct answer: int; String.
PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.