Corrected another error in the examples. Sheesh.

This commit is contained in:
Michael Bayne
2011-02-28 20:24:14 -08:00
parent cd4db4293e
commit 40b5a2b2c8
+1 -1
View File
@@ -92,7 +92,7 @@ Example:
}, new OutputStreamWriter(System.out)));
// result:
// Elvis: 74
// Elvis: 75
// Madonna: 52
As you can see from the example, the fields (and methods) need not be public.