Java is a programming language and computing platform first released(Java 1.0) by Sun Microsystems in 1995. Java was originally developed by James Gosling at Sun Microsystems in 1991. The language was initially called Oak after an oak tree that stood outside Gosling's office. Later the project went by the name Green and was finally renamed Java, from Java coffee. Oracle Corporation acquired Sun Microsystems on January 27, 2010. And now Oracle owns Java. In 2006 Sun started to make Java available under the GNU General Public License (GPL). Oracle continues this project called OpenJDK.
Currently more than 3 billion devices run on Java.
By the time this tutorial had been written,the latest version of Java is Java 1.8 which is also known as Java 8.
Java is a high-level programming language. Programming languages that are closer to human languages and further from machine languages are called as high-level programming language. Other high-level programming languages are BASIC, COBOL, C, C++, FORTRAN etc.
A low-level programming language generally refers to either machine code or assembly language.
For writing java program, you need a text-editor like notepad or notepad++ and for compiling and running the program, you need JDK installed in your system. In subsequent chapters I will explain how to install JDK.
Java is the most popular programming language. Currently more than 3 billion devices run on java and this figure is increasing continuously. These devices need new java applications as well as maintenance of existing applications, Hence the world needs huge number of skilled java programmers and it starts from you.
Following are the major differences between C++ and Java. As you will proceed with learning java, you will find out many other differences.
|C++ is platform dependant||Java is platform independent|
|C++ is compiled only||Java is both compiled and interpreted|
|C++ supports multiple inheritance||Java does not support multiple inheritance|
|C++ supports pointers||Java does not support pointers|
|C++ supports operator overloading||Java does not support operator overloading|
|C++ supports goto statement||Java does not support goto statement|
Above differences are one of the reasons behind java is called simple language because it has removed complex features like pointers, operator overloading, goto etc, which makes program difficult to understand.
In next chapter you will get a clear understanding of JDK, JRE and JVM. Before proceeding to install java, it will be good if you can cleary differentiate among JVM, JRE and JDK.