Java is one of the most used programming languages in the world for developing the desktop application and web application.It has completed 22 years in the programming world.
History of Java:
Java programming language was developed by James Ghosling, Patrick Naughton, Mike Sheridan at Sun Microsystems Inc. in 1991.
The initial name was Oak but it was renamed to Java in 1995 as OAK was a registered trademark of another Tech company.
Evolution of Java:
There are many java versions that have been released. Current stable release of Java is Java SE 8 and development of Java SE 9 is in progress and will be released soon.
- JDK Alpha and Beta (1995)
- JDK 1.0 (23rd Jan, 1996)
- JDK 1.1 (19th Feb, 1997)
- J2SE 1.2 (8th Dec, 1998)
- J2SE 1.3 (8th May, 2000)
- J2SE 1.4 (6th Feb, 2002)
- J2SE 5.0 (30th Sep, 2004): This version of Java have introduced major changes in java programming world. Some of them are:
- Java SE 6 (11th Dec, 2006)
- Java SE 7 (28th July, 2011) : Java 7 has following new major changes:
- Multi-catch block
- Support of String in Switch case
- Try with resources etc.
- Java SE 8 (18th March, 2014) : Java 8 has introduced major programming paradigms. Some of them are:
Features of Java:
- Simple: Java is easy to learn. It does not include concepts of pointers and operator overloading that were available in C++.
- Object Oriented: You can model everything into an object which has data and behavior. Java has incorporated various object-oriented concepts such as Abstraction, Encapsulation, Polymorphism, and inheritance.
- Platform independence: Java is write-once, run-anywhere language. Once you compile java code, you can run it on any machine. For example: If you compile your code on Windows OS, you can easily run the same bytecode in linux.
- Portable: Java byte can be portable to any platform and can be executed on any platform.
- Multi-threading: Java has provided multithreading feature which will help you to execute various task in parallel. It has introduced executor framework which is more robust and easy to use.
- High performance: Java can not be as fast as C and C++ as it is interpreted language but it has provided various features such as Just in time compiler to increase performance.
I think You might have got some idea about Java now.
That’s all about Introduction to Java Programming.
Let’s jump to Java hello world example