




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





77
78
83
FileReader frdr = new FileReader(filename); LineNumberReader lrdr = new LineNumberReader(frdr); String line; while ((line = lrdr.readLine()) != null) { System.out.print(lrdr.getLineNumber() + ":\t" + line); } 85
86
95
96
101
103
104
Class Monoglyph { … void Draw (Window w) { component.Draw(w); } … } Class Border extends Monoglyph { .. void Draw (Window w) { super.Draw(w); DrawBorder(w); } … }
113
114
115
116