Last Updated:
Java is an object-oriented programming language designed to solve both the security and portability problems with C++.
Java was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike Sheridan at Sun Microsystems, Inc in 1991.
It took almost 18 months to develop the first working version.
This language was initially called 'Oak' but was renamed 'Java' in 1995.
Java enables you to write large-scale application programs that you can run unchanged on any computer that supports java. This applies to the majority of computers in use today.
The execution of every Java program is under the control of the Java Virtual Machine (JVM), the JVM can contain the program and prevent it from generating side effects outside of the system.
Java is purely object oriented programming language because without class and object it is impossible to write any Java program. But, it supports primitive data types like int, float, boolean, double, long etc., which are not objects.
An application written in Java only requires a single set of source code statements, regardless of the number of different computer platforms on which it is run. The following is the list of few examples of where Java programming is used.
Though Java is very simple to learn, it does memory management automatically. So, to learn deep in programming it is recommended to learn C and C++ before Java.