public class Main{ public static void main (String ... s){ String str; int i; str = 'Foolish boy.'; i = str.indexOf ('fool'); System.out.println (i); } }What is the o/p .......? - Study24x7
Social learning Network
86 followers study24x7 12 Nov 2019 07:10 PM study24x7 study24x7

public class Main{ public static void main (String ... s){ String str; int i; str = "Foolish boy."; i = str.indexOf ("fool"); System.out.println (i); } }

What is the o/p .......?

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles