You are on page 1of 4

Java Programming Language

Syntex
The following table summarizes all versions of Java SE from its early days to the latest.

Java SE Version Version Number Release Date

JDK 1.0 1.0 January 1996


(Oak)

JDK 1.1 1.1 February 1997

J2SE 1.2 1.2 December 1998


(Playground)

J2SE 1.3 1.3 May 2000


(Kestrel)

J2SE 1.4 1.4 February 2002


(Merlin)

J2SE 5.0 1.5 September 2004


(Tiger)

Java SE 6 1.6 December 2006


(Mustang)

Java SE 7 1.7 July 2011


(Dolphin)

Java SE 8 1.8 March 2014

Java SE 9 9 September, 21st 2017


Java SE 10 10 March, 20th 2018

Java SE 11 11 September, 25th 2018

Java SE 12 12 March, 19th 2019

Java SE 13 13 September, 17th 2019

Java SE 14 14 March, 17th 2020

Java SE 15 15 September, 15th 2020

Java SE 16 16 March, 16th 2021

Java SE 17 17 September, 14th 2021

Java SE 18 18 March, 22nd 2022

Java SE
19 19

September, 20th 2022

Java SE 20 20 March, 21st 2023

Java SE 21 21 September, 19th 2023


From the table above we can see that the naming and the version number have
been changing over times:

 Versions 1.0 and 1.1 are named as JDK (Java Development Kit).
 From versions 1.2 to 1.4, the platform is named as J2SE (Java 2 Standard
Edition).
 From versions 1.5, Sun introduces internal and external versions. Internal
version is continuous from previous ones (1.5 after 1.4), but the external
version has a big jump (5.0 for 1.5). This could make confusion for someone,
so keep in mind that version 1.5 and version 5.0 are just two different version
names for only one thing.
 From Java 6, the version name is Java SE X.

1) class is a keyword. Every keyword in java should be in lowercase.

2) Hello is our class name. First letter of class name should be in uppercase. It
is not a condition but it is just a convention.

3) public, static and void all are keywords.

4) main is a method name. Method name must be in lowercase. main method


is a special method because execution of a java program starts
from main method. This method takes one argument of type String array.
Remember main is not a keyword.

5) String is a final class from java.lang package.

6) System is also a final class from java.lang package. out is a static member
of System class of type PrintStream. println is a method
of PrintStream class.

7) You can explore the source code of both System class and String class. Go
to JDK installation directory and extract the ‘src‘ zip file. Then go to src –> java
–> lang. In lang folder, you will find both System and String Java files.

8) Above program prints “Hello World” on the console.

You might also like