|
3.9. What You Still Don't KnowWe have deliberately avoided file I/O. For Java, it is a multilayered and complex topicand with version 1.4 of Java, there is a whole new set of additional classes (java.nio.*) to consider. We refer you instead to Chapter 11 of Eckel's Thinking in Java. There are also a few Java keywords that we have not yet discussed, notably synchronize. Even if you know all the Java syntax, it may still take a while to get familiar with the way that syntax is typically put to use. Experience and reading other people's Java code will be your best teachersbut don't assume that a particular approach is good just because someone else uses it; much new code has been written in the last several years as people have learned Java. Be sure it's a style worth imitating, and if you find a better way to do it, use it. |
|