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