Advertisements
Advertisements
Question
Predict the output of the following:
String str = "Information Technology";
int p;
p = str.indexOf('n');
System.out.println(p);
One Word/Term Answer
Solution
1
shaalaa.com
Is there an error in this question or solution?