O'Reilly logo

Compilers: Principles and Practice by Himanshu B. Dave, Parag H. Dave

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required