Thursday, June 23, 2016

What is Java Programming Language



           Java is an object-oriented language similar to C++, but simplified to eliminate language features that cause common programming errors. Java source code files (files with a .java extension) are compiled into a format called byte code (files with a .class extension), which can then be executed by a Java interpreter.



Java language is satisfying the following goals like

Features:

1. Simple, object-oriented, and familiar
2. Robust
3. Secure
4. Architecture-neutral and portable
5. High Performance
6. Interpreted
7. Thread and Dynamic

Versions:

JDK 1.0 (January 21, 1996)
JDK 1.1 (February 19, 1997)
J2SE 1.2 (December 8, 1998)
J2SE 1.3 (May 8, 2000)
J2SE 1.4 (February 6, 2002)
J2SE 5.0 (September 30, 2004)
Java SE 6 (December 11, 2006)
Java SE 7 (July 28, 2011)
Java SE 8 (March 18, 2014)

Hello World Program:

class HelloWorldExample {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Prints the output to the console.
    }
}