Java History and Features

Learn about Java's origin, evolution, and key features that make it popular

Java · beginner · 15 min · 6 steps · free

What you'll learn

Welcome.java

// Java - Write Once, Run Anywhere
public class Welcome {
    public static void main(String[] args) {
        System.out.println("Welcome to Java!");
        System.out.println("Platform Independent");
        System.out.println("Object-Oriented");
        System.out.println("Secure & Robust");
    }
}

Step by step

  1. Java was created by James Gosling at Sun Microsystems in 1995. The "Write Once, Run Anywhere" philosophy allows Java code to run on any platform with a JVM.
  2. The main method is the entry point of every Java application. It's where program execution begins.
  3. Platform Independence: Java bytecode runs on any system with a JVM, making it truly portable.
  4. Object-Oriented: Everything in Java is an object (except primitives), promoting code reusability and modularity.
  5. Security & Robustness: Java has built-in security features and strong memory management to prevent common programming errors.
  6. Security & Robustness: Java has built-in security features and strong memory management to prevent common programming errors.

More in Java Basics