public class Main {

	public static void main(String[] args) {
		String s = "Johnny can't read";
		String str = "a";
		char ch = 'a';

	// Uncomment lines to test code
//		System.out.println(str + str);
//		System.out.println((1 == 1) + str);
//		System.out.println(ch + str);
//		System.out.println(ch);
//		System.out.println(ch + ch);
//		System.out.println(s.length());
//		System.out.println(s.charAt(2));
//		System.out.println("" + s.charAt(7) + s.charAt(8) + s.charAt(9));
//		System.out.println(s.charAt(7) + s.charAt(8) + s.charAt(9));
//		System.out.println((char) ('A' + 1));
//		System.out.println(s.substring(7));
//		System.out.println(s.substring(7,10));
//		System.out.println(s.indexOf("a"));
//		System.out.println(s.indexOf("a",9));
//		System.out.println(s.charAt(s.length()));  // produces an error
		
//		String t = "Fred can't read";
//		System.out.println(s.compareTo(t));
//		System.out.println(s.charAt(6));
//		System.out.println(t.compareTo(s));
	}

}