Flat Preloader Icon

Introduction

Learn Java

  1. About Java
  2. What is Java?
  3. What was the reason of creation?
  4. What is JVM, JRE, JDK?
  5. Features of Java
  6. Evolution of Java

1 . About Java

  • One of the most popular programming languages since 1996
  • Making searching/locating and usage of classes, interfaces, enumerations and annotations easier
  • Has around 10 million developers worldwide.
  • Considered for small devices to enterprise applications.

2 . What Is Java?

Developed as a high level programming language by Sun Microsystems in 1996.

  • Now a platform and development & runtime environment.

3 . What Was The Reason Of Creation?

  • Needed a cross-platform language for multi-device development.
  • C++ though object oriented and widely used was highly resource intensive.
  • Developed with aim of ‘Write Once, Run Anywhere’.

How Is It Platform Independent?

  1. Traditional Model –                                                                                                                                               Source Code → Native Code                                                                                                                                                                            
  2. Java Programming Model –                                                                                                                                  Source Code → Byte Code → JVM (Windows JVM, Linux JVM etc.)

4 . What Is JVM, JRE, JDK?

  • JVM : Java Virtual Machine running on host for running Java executables.
  • JRE:- Java Runtime Environment provides core libraries along with JVM for running byte code.
  • JDK:- Java Development Kit is software for developing java apps and provides a JRE and a compiler.

5 . Features Of Java

  1. Platform Independent
  2. Compiled and Interpreted
  3. Object Oriented
  4. Simple
  5. Robust & Secure
  6. Multithreaded
  7. Dynamic

6 . Evolution 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 (Feb 6, 2002)
  • J2SE 5.0 (Sept 30, 2004)
  • Java SE 6 (Dec 11, 2006)
  • Java SE 7 (July 7, 2011)
  • Java SE 8 (March 18, 2014)