public class SomeStrings { public static void main(String[] args) { String name = "Sam"; char letter = 'A'; int number1 = 14; float number2 = 17.5F; System.out.println("Hi\nThere\tClass\\\\\n\n"); System.out.println(name+letter+number1+number2); System.out.println(name+letter+(number1+number2)); System.out.println("AB".compareTo("AE")); } } //Copyright 2010-2012 : Evan Golub