Java is the computer programming language that is class-based and object-oriented. This programming language is designed to allow developers write once and run anywhere, which means the compiled Java code can run on almost all platforms supporting Java. Java code is compiled to bytecode that can run on any Java virtual machine.
The syntax of Java programming language is derived from C and C++. Initially, Java was introduced by James Gosling at Sun Microsystems and was released in 1995. The latest version of Java is 8 that is the only version supported by Oracle.
Typical uses of Java are as follows:
- It is commonly used to develop commercial e-commerce website, Android applications, games, and desktop applications.
- In Java, Java Swing is popularly used to create thick client GUIs for traders.
- It is also used to develop Web applications for various domains such as government, healthcare, insurance, and much more.
- Various software and development tools are also developed using Java such as NetBeans IDE.
- Presently, Java is considered as the default choice for scientific applications.
- Many trading applications are also written in Java. Such applications are used in banks for database connectivity.
- Earlier, J2ME applications were developed using Java programming language. However, the introduction of iOS and Android has overcome the development of mobile applications using Java.
- It is also employed in Hadoop and other big data technologies.
History of java
The initial version of Java was released on January 23, 1996. This version was known as Oak. Later, the stable version, that is, JDK 1.0.2 was introduced that was known as Java. The next release of Java was JDK 1.1 that included the following features:
- The AWT model
- Inner classes
The next version was released on December 8, 1998, that is, J2SE 1.2. This was the significant release of Java that included the following additions:
- Swing API
- JIT compiler
- Java plug-in
- Java IDL
- Collections framework
The next version of Java was J2SE 1.3, which brought various changes such as HotSpot JVM, RMI, JNDI, JPDA, JavaSound, and much more. Later on, the versions such as J2SE 1.4 and J2SE 5.0 were released.