1.

Read the code carefully and give its output :package javaprogarms;public class StringDemo{public static void main(String[]args) {String myString = "INFORMATION TECHNOLOGY"; System.out.println(myString.indexof(’E’)); System.out.println(myString.contains("NO")); System.out.println(myString.length(); }};

Answer»

13 

True 

22



Discussion

No Comment Found

Related InterviewSolutions