Introduction to Java
History of Java
1991 Initiation of Java language project
James Gosling and Patrick Naughton.
Oak
1995- 1st working version developed
Renamed- Java
Major release versions of Java
Major release versions of Java
JDK 1.0 (January 23, 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)
J2EE 5.0 (September 30, 2004)
Java SE 6 (December 11, 2006)
Java SE 7 (July 28, 2011)
Java buzzwords
Simple
Secure
Portable
Object oriented.
Robust
Multithreaded
Architecture-neutral
Interpreted
High performance
Distributed
Dynamic
Java is both interpreted and compiled.
Code is compiled to byte code that is binary and
platform independent.
When program has to be executed, the code is
fetched into the memory and interpreted on users
machine.
When we compile a piece of code, all the errors are
listed together.
An interpreter verifies the code and executes it line
by line.
Compilation is process of converting the code that
you type, into language that computer understandsmachine language.