- Home
- Output Questions for Class 10 ICSE Computer Applications
Predict the output of the following Java program snippet
Output Questions for Class 10 ICSE Computer Applications
Predict the output of the following Java program snippet:
String str = "Information Technology";
int p;
p = str.indexOf('n');
System.out.println(p);