Overview of Java
Java is a computer programming language. Java was created based on C and C++. Java uses C syntax and many of the object-oriented features are taken from C++. Before Java was invented there were other languages like COBOL, FORTRAN, C, C++, Small Talk, etc. These languages had few disadvantages which were corrected in Java. Java also innovated many new features to solve the fundamental problems which the previous languages could not solve. Java was invented by a team of 13 employees of Sun Microsystems, Inc. which is lead by James Gosling, in 1991. The team includes persons like Patrick Naughton, Chris Warth, Ed Frank, and Mike Sheridan, etc., Java was developed as a part of the Green project. Initially, it was called Oak, later it was changed to Java in 1995.
History of Java
- The C language developed in 1972 by Dennis Ritchie had taken a decade to become the most popular language.
- In 1979, Bjarne Stroustrup developed C++, an enhancement to the C language with included OOP fundamentals and features.
- A project named “Green” was initiated in December of 1990, whose aim was to create a programming tool that could render obsolete the C and C++ programming languages.
- Finally in the year of 1991 the Green Team was created a new Programming language named “OAK”.
- After some time they found that there is already a programming language with the name “OAK”.
- So, the green team had a meeting to choose a new name. After so many discussions they want to have a coffee. They went to a Coffee Shop which is just outside of the Gosling’s office and there they have decided name as “JAVA”.
Execution Process of Java Program
The following three steps are used to create and execute a java program.
- Create a source code (.java file).
- Compile the source code using javac command.
- Run or execute .class file uisng java command.