Public feed
#529006
1: public class Ellsworth {
2: public static void main(String[] arguments) {
3: String line1 = "The advancement of the arts, from year\n";
4: String line2 = "to year, taxes our credulity, and seems\n";
5: String line3 = "to presage the arrival of that period\n";
6: String line4 = "when human improvement must end.";
7: String quote = line1 + line2 + line3 + line4;
8: String speaker = "Henry Ellsworth";
9: String title = "U.S. Commissioner of Patents";
10: String from = "1843 Annual Report of the Patent Office";
11: System.out.println('\u0022' + quote + '\u0022');
12: System.out.println("\t" + speaker);
13: System.out.println("\t" + title);
14: System.out.println("\t" + from);
15: }
16: }
Ellsworth.java:1: 'class' or 'interface' expected
1: public class Ellsworth {
^
Ellsworth.java:2: illegal start of type
2: public static void main(String[] arguments) {
^
Ellsworth.java:16: <identifier> expected
16: }
^
3 errors