ThePcLearnerss >> Programming>> Java Introduction
Introduction to Java
Need of Java
There were so many languages being used, so what was the need for Java?
Sun Microsystem Inc used to create software for electric appliances. They used to write different code for different devices even the working of the devices were the same. They realize that these high efforts can be reduced if they can develop a language that can work on multiple platforms i.e. platform-independent language. They thought to develop a language with this feature, but in the initial stage, all there projects on that language(java) were not successful. But that type of language which has that feature was the need of the hour.
Sun Microsystem Inc used to create software for electric appliances. They used to write different code for different devices even the working of the devices were the same. They realize that these high efforts can be reduced if they can develop a language that can work on multiple platforms i.e. platform-independent language. They thought to develop a language with this feature, but in the initial stage, all there projects on that language(java) were not successful. But that type of language which has that feature was the need of the hour.
Earlier Java was started with the name "OAK" it was decided to register this language with the name "OAK" but due to some reason, it couldn't happen.
History of Java / Versions of Java
The first public version of java was made in 1995 that was a beta version and launched with the promise of "Write Once, Run Anywhere".Later development of Java
- 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)
- Java SE 6 (11th Dec 2006)
- Java SE 7 (28th July 2011)
- Java SE 8 (18th Mar 2014)
- Java SE 9 (21st Sep 2017)
- Java SE 10 (20th Mar 2018)
Java is still developing day by day.
Features of Java
Platform Independent
Java is a platform-independent language which means a code written in Java language can be run on any machine irrespective of the platform that machine use.
Simple
Java is a very simple language to learn and implement. Java has removed many complicated and rarely used features to make it simpler.
Object-Oriented
Java is an object-oriented language which means everything in Java is treated as an object. So we can combine different objects together to organize our program or software and it is also good for reusability.
Secure
Java is known for its security, with Java we can develop a secure product. Java provides many securities by default.
Architecture Neutral
Java is an architecture-neutral language because it creates a byte code that converted into object code based on the different architecture of the machine.
Portable
As java is architecture-neutral Java is portable and it did not require implementation.
Robust
Robust simply means strong. There are many features that make Java a strong language.
Multithreaded
A thread can be a subtask or a single small sequential flow of a process. So in Java, it is possible to write programs that can perform multiple tasks simultaneously.
Comments
Post a Comment