11.1 Java

Java is a high-level, third generation programming language, like C, C++, Fortran, Smalltalk, Perl and many others. You can use Java to write computer applications that crunch numbers, process words, play games, store data or do any of the thousands of other things that computer software can do.

Compared to other programming languages, Java is most similar to C. However, although Java shares much of C's syntax, it is not C. Knowing how to program in C or, better yet, C++,will certainly help you to learn Java more quickly, but you do not need to know C to learn Java. Unlike C++ Java is not a superset of C. A Java compiler would not compile C code, and most large C programs need to be changed substantially before they can become Java ...

Get Compilers: Principles and Practice 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.