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

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers