Pages

Tuesday, February 13, 2018

Advantages and characteristics of Java programming language

In this post, we will learn the advantages of Java programming language and some java characteristics.

About the Java Technology

Java technology is both a programming language and a platform.

The Java programming language:

The Java programming language is a high-level language.
Following are the advantages and characteristics of Java programming language:



  1. Simple and Object Oriented
    • The Java programming language is simple language that can be programmed without extensive programming skills or training.
    • Fundamental concepts are very easy and can be grasped quickly by the programmer. 
    • Java Technology provides a clean and efficient object-based development environment. 
    • Programmers can use object-oriented concepts such as classes, objects, inheritance, polymorphism etc. to develop highly object-oriented application.
  2. Robust and Secure
    • Java programming language provides extensive compile-time checking and the second level of run-time checking hence it is used to create/design highly reliable and robust software applications.
    • Java programming language is provided with security features in language and run-time system which lets programmer develop and design highly secured applications in distributed environments.
  3. Architecture Neutral and Portable
    • The Java compiler application generates bytecodes (an architecture neutral intermediate format) which designed to execute the code efficiently on multiple hardware and software platform.
    • Applications designed using Java technology can be deployed into heterogeneous network environments and executes on a variety of hardware architectures.
    • Java technology specifies the sizes of its basic data types and the behavior of its arithmetic operators hence programs developed using Java technology are the same on every platform hence there are no data type incompatibilities across hardware and software architectures.
    • These features make Java programming language platform independent and highly portable.
  4. High Performance
    • The Java platform achieves superior performance by adopting a scheme by which the interpreter can run at full speed without needing to check the run-time environment.
    • The automatic garbage collector runs as a low-priority background thread, ensuring a high probability that memory is available when required, leading to better performance.
  5. Interpreted, Threaded, and Dynamic
    • The Java interpreter can execute Java bytecodes directly on any machine to which the interpreter and run-time system have been ported.
    • Java interpreter plays an important role to make Java technology platform independent.
    • Java technology's multithreading capability provides the means to build applications with many concurrent threads of activity. Multithreading thus results in a high degree of interactivity for the end user.
    • Java programming language and run-time system provide dynamic linking property, therefore, classes are linked only as needed. Also, new modules can be linked to demand from different sources across a network.

The Java Platform:

A platform is the hardware or software environment in which a program runs. The Java platform software-only platform that runs on top of other hardware-based platforms.
The Java platform has two components: 

  1. The Java Virtual Machine –
    • It's the base for the Java platform and is ported onto various hardware-based platforms.
  2. The Java Application Programming Interface (API) –
    • The API is a large collection of ready-made software components that provide many useful capabilities. It is grouped into libraries of related classes and interfaces; these libraries are known as packages.


No comments:

Post a Comment