//StringMethods - Shows the usage of various string methods public class StringMethods { public static void main(String[] args) { String name = "Eric Heim"; System.out.println("name.length() = " + name.length()); System.out.println("name.charAt(0) = " + name.charAt(0)); System.out.println("name.charAt(5) = " + name.charAt(5)); System.out.println("name.toLowerCase = " + name.toLowerCase()); System.out.println("name.toUpperCase = " + name.toUpperCase()); } }