Java History
- Java is a popular high-level programming language.
- Java was developed by Sun Microsystems in 1995.
- It was created by James Gosling and his team.
- Java follows the principle: "Write Once, Run Anywhere".
- Today, Java is widely used for web, mobile, desktop, and enterprise applications.
How Java Was Created?
The history of Java started in 1991 when a team at Sun Microsystems began a project called Green Project. The main goal was to create a programming language for electronic devices.
James Gosling created Java, which was first named Oak. Later, the name was changed to Java in 1995.
First Release of Java
Java was officially released by Sun Microsystems in 1995. It became popular because programs written in Java could run on different platforms using the Java Virtual Machine (JVM).
public class HelloJava{
public static void main(String[] args) {
System.out.println("Hello Java");
}
}
Major Versions of Java
Java 1.0
Released in 1996 and introduced the basic features of Java.
Java 5
Added important features like generics and enhanced loops.
Java 8
Introduced lambda expressions and functional programming support.
Java 17
A long-term support version with improved performance and security.
Why Java Became Popular?
- Platform independent language.
- Simple and easy to learn.
- Strong security features.
- Object-oriented programming support.
- Large developer community.
Java Today
Java is still one of the most widely used programming languages. It is used for Android applications, banking systems, web applications, cloud applications, and enterprise software.