Computer Science, asked by saikiran9820, 1 year ago

What is the output of the following println statement?

String str1 = "Hellow"; System.out.println(str1.indexOf('t'));
A.TRUE
B.FALSE
C.1
D.-1

Answers

Answered by Neeraj723
0
Hii dear here is your answer


option d is the correct answer

Hope it's help u
Answered by Anonymous
4
______✨ HEY MATE ✨_____

➡️Option (D) is the right answer ✔️

<marquee>✌️ I THINK IT HELPED YOU ✌️
Similar questions