Until now, I have concentrated on the object-oriented concepts instead of the Java syntax. I have already introduced some of Java’s syntax by way of previous examples. This section will present a more complete definition of Java’s syntax.
Java’s syntax was deliberately based on C++, which was in turn based on C. Therefore, COBOL programmers sometimes have a harder time understanding Java’s syntax than do C and C++ programmers. Harder is not the same as impossible, however, so I expect you to follow along.