public class String1 { public static void main ( String [] args ) { String str1 = new String ( "This is a string" ); String str2 = "Hello World!"; String str3 = "\t\n\n\tHello World!\n"; System.out.println ( str1 ); System.out.println ( str2 ); System.out.println ( str3 ); } }