Introduction to java programming language : Java is simple and powerful object oriented language which has taken most of the features from c++ programming.
In this tutorial we will wee Introduction to java, history of java and features of java.
Lets us star with Introduction to java programming language.
Introduction to java programming language
What is java programming?
Java programming is improvement in the art of programming.
Java programming language is introduced by James gosling from sun Micro systems in 1991. The first version of java is introduced in 1995.
Java supports dynamic network based applications, which are secured, reliable, portable and reusable.
java programming is platform independent language : which is major tool used for Web applications.
Today’s world mostly depends on web applications which are distributed applications. Java is major tool used for developing such web based application which are available across globe as it provides platform independent.
It is not only object oriented but also very robust and secure language.
History of java
Java is object oriented programming language which is developed by James Gosling and there colleagues in Sun Micro systems in 1991. Initially it is known as OAK programming after an oak tree that stood outside office where team is working. later it was named as JAVA from JAVA coffee.( JAVA is island in Indonesia where first coffee was produced called java coffee)
The java derives syntax from c and cpp programming.
Initial JAVA Version 1.0 and 1.1 was released in year 1996
- JAVA Version 1.2 (commonly called as JAVA2) released in year 1998
- 2000 JAVA Version 1.3 released
- 2002 Version 1.4 released
- 2994 JAVA Version 1.5 /JAVA SE 5 released
- 2006 JAVA Version 1.6 /JAVA SE 6 released
- 2011 JAVA Version 1.7 /JAVA SE 7 released
- 2015 Version 1.8 /JAVA SE 5 released
Features of java
Java is object oriented programming language mostly used for Internet application. It can also be used for standalone application.
Following are feature of java
1. Simple : Writing java program is very easy and simple
2. Compiled and interpreted : Every programming language are either compiled or interpreted but java programs are compiled first then interpreted.
3. Platform independent
Java programming provides feature write once and executed everywhere language. Java programs are compiled into intermediate code called byte code which can be executed on any platform.
4. Object oriented
Java is object oriented programming language. Everything in java is object. It has most of the features from object oriented paradigm.
Compiled byte code can be carried to any platform without implementation details.
6. Robust and secure
Java makes a effort to eliminate any compile time and run time error in programs.
Java uses the RMI and EJB to create distributed application
8. Multi threaded
It provides the feature to write a program which executed the multiple task(code) simultaneously.
9. High performance
Unlike c and cpp, java uses just in time compiler which increases the performance of execution.
Java programs are compiled and generates the byte code which executing the byte code on other machine it need to be executed again , interpreter executed this byte code line by line to generate output.