1.3 Java versus Other Languages*
When dealing with the design of new programming languages or language extensions, other programming language constructs are often tested for their suitability and then incorporated into the concept if successful. Java is also an evolving language that has features of other languages.
1.3.1 Java and C(++)
Syntactically, Java is strongly based on C(++), for example, with the data types, operators, or parentheses, but hasn’t adopted all the properties of C(++). In the historical chain, Java is often considered the successor to C++ (and the predecessor of C#), but the Java programming language deliberately avoids problematic constructs such as pointers.
The class concept—and thus the OO approach —was significantly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access