Introduction

Java is a high-level object-oriented programming language developed by Sun Microsystems, which became part of Oracle Corporation in 2010. The language is very similar to C++, but has been simplified to make it easier to write bug free code. Most notably, there are no pointers in Java, instead all memory allocation and deallocation is handled automatically.

Despite simplifications like this Java has considerably more functionality than both C and C++, due to its large class library. Java programs also have high performance and can be made very secure, which has contributed to making Java the most popular general purpose programming language in use today.

Another key feature of Java is that it is platform independent. This is achieved ...

Get Java Quick Syntax Reference 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.