Chapter 7. Syntax

Now that you've got the object-oriented foundation down, you can look at the basic syntax elements. Here Java will look very much like C, and that's by design. One of Java's design goals, as you may remember from Chapter 1, "What Is Java?," is to be easy for C programmers to learn. Therefore, a lot of the basic syntax is the same.

Get PURE Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.