What Comes Out? String a = "Thomas Jones"; String b = "Susan Smith"; String c = "Jack Nicholson"; 1. System.out.println(a.substring(4)); 2. System.out.println(b.substring(2,4)); 3. System.out.println(c.substring(6,7)); 4. System.out.println(a.substring(0)); 5. System.out.println(a.indexOf("J")); 6. System.out.println(b.indexOf("S")); 7. System.out.println(c.indexOf("h")); 8. System.out.println(c.indexOf("Z")); 9. System.out.println(a.indexOf(" ")); 10. System.out.println(b.indexOf(" ")); 11. System.out.println(c.indexOf(" ")); 12. System.out.println(a.length()); 13. System.out.println(b.length()); 14. System.out.println(b.length()-b.indexOf(" ")); 15. System.out.println(b.substring(4,1)); 16. System.out.println(c.substring(0,1)); 17. System.out.println(c.substring(3,4)); 18. System.out.println(c.substring(4,5)); 19. int n = a.indexOf(" "); System.out.println(a.substring(0,n)); System.out.println(a.substring(n+1)); System.out.println(a.substring(n+1,n+2)); 20. int n2 = b.indexOf(" "); for (int x = 0; x <= n2; x++) System.out.println(b.substring(x,x+1)); 21. int n3 = c.indexOf(" "); for (int x=n3; x >= 0; x--) System.out.println(c.substring(x,x+1)); 22. for (int x=0; x < b.length();x++) System.out.print(b.substring(x,x+1)); 23. for (int x=a.length()-1; x >=0;x--) System.out.print(a.substring(x,x+1)); 24. for (int x=a.indexOf(" ") -1; x >=0;x--) System.out.print(a.substring(x,x+1)); 25. for (int x=0; x <= 6;x++) System.out.println(a.substring(x));