Sail E0 Webinar
Question
What is the output of the following println statement?
String str1 = "Hellow";
System.out.println(str1.indexOf('t'));
Options:
A .  true
B .  false
C .  1
D .  -1
E .  0
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers