Java and Its Introduction

 Java and Its Introduction

Java :

  • Java is a general - purpose, high level programming language developed by Sun Microsystems.
  • Java was designed to be small , simple and portable across all platforms and operating systems.
  • It is a popular platform to develop enterprise applications.

Features of Java:

  • It is Object Oriented Programming language.
  • Simpler language.
  • Robust (Easy Memory Management)
  • Architecture Portable  (Can run on any Platform.
  • Secure 
  • Support of Multithreading at language level.
  • Designed to handle Distributed applications.

Platform Independence:

  • Java is a platform independent language.
  • "write once run everywhere"
  • Platform is possible due to Java Virtual Machine or JVM.

Java Architecture:

Source File (HelloWorld.java)
                     ⬇
         Compiler (javac)
                     ⬇
Bytecode (HelloWorld.class)

now it enter the JVM 
 JVM : 

Class Loader 
        ⬇
Byte Code Verifier
         ⬇
Interpreter     ➡         JIT Code generator
        ⬇
Runtime



Automatic garbage Collection :

  • Unique feature in java
  • Reuse the already allocated memory locations which is presently not in active use
  • avoids memory leakage.









Comments