System.out.println(" Length of the string s1 is : " +s1.length()); System.out.println(" The first appearing of a is at the position : " +s1.indexOf('a')); System.out ...
Add a description, image, and links to the java-opp topic page so that developers can more easily learn about it.