Learn about Java's origin, evolution, and key features that make it popular
Java · beginner · 15 min · 6 steps · free
What you'll learn
Understand Java's history and evolution
Learn key features of Java programming language
Understand the concept of platform independence
Recognize Java's object-oriented nature
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
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.
The main method is the entry point of every Java application. It's where program execution begins.
Platform Independence: Java bytecode runs on any system with a JVM, making it truly portable.
Object-Oriented: Everything in Java is an object (except primitives), promoting code reusability and modularity.
Security & Robustness: Java has built-in security features and strong memory management to prevent common programming errors.
Security & Robustness: Java has built-in security features and strong memory management to prevent common programming errors.