What is Java Language (Technology or Platform)?

JAVA TECHNOLOGY






  • Java technology everything but a high level programming language as well as it is a platform also.
  • Java programming language has some characteristics which are given below:-
      • Simple
      • Object oriented
      • Distributed
      • Dynamic
      • Multi threaded
      • Robust
      • Secure
      • Portable

  • In Java programming where we write our program is known as source file.

  • In Java language every source file as plain text inside it and has extension '.java'.

  • This source file are get compiled into .class file by the javac compiler.
  • .class file has some code which is known as Bytecode.

  • Bytecode is the code which is understandable to the Java virtual machine.

  • Bytecode is a machine language of Java virtual machine.

  • Use Java launcher to run a Java program.

  • Java virtual machine is available for different operating system like Microsoft Windows, Solaris, UNIX and for others.

  • Once Java compiler compiles Java source file and creates .class file then we can used that .class file on any operating system JVM.

  • You don't have to code again for different operating system because of JVM it provides a common platform for .class file.




JAVA PLATFORM


  • A platform is environment. It can be a hardware or software environment.

  • There are some platforms:
          a.           Microsoft Windows
          b.          Solaris OS
          c.          Mac OS

  • Lots of platforms are described as a combination of operating system and underlying hardware.
  • Java platform is the software only platform that runs on top of the other hardware based platform.

  • Java platform is a combination of 2 components:
1)  The Java Virtual Machine
2)  The Java Application Programming Interface(API)

·   We have already seen what is Java virtual machine now let's see what is Java API.

·  Java API is a large collection of ready made software components which provides useful capabilities.

·   It is grouped into libraries of related interfaces any classes; these libraries are called packages.




Comments

Popular Posts