java online - List of Java features and explain Java features in details?

Programming languages or concepts

 List of Java features and explain Java features in details?

List of Java features:

  • Object oriented

  • Secure
  • Java is simple
  • Robust
  • Java is portable
  • Architecture neutral
  • Distributed
  • Dynamic
  • High performance
  • Multithreaded
  • Platform independent

Explain Java features in detail


1) Java is a simple:

      Java is designed to be easy to learn and its syntax is  every simple and easy to understand new users/ developers.when you learn C plus plus Java programming is easy to learn.


2) object oriented:-

      In Java everything is an object.

   Java can be easily extended since it is based on the object model. Following are some basic concept of oops object, classes, inheritance, polymorphism, extraction, capsulation.


3) Java is a platform independent:

     Platform independent means we can build or create any program on any software based and Hardware based we can also run on other machine easily.

      There are two types of platform software based and Hardware based Variables & Data types provide a software based platform.

    The Java platform different from most other platforms in the sense that it is a software-based platform that runs on the top of other hardware-based platforms. 

 Java is guaranteed to be write-once, run-anywhere language.

4) Distributed

Java is also a distributed language. Java Programs can be designed to run on computer networks.

    Java is designed for the distributed environment of the internet.

Creating network connections is very much easy in Java as compared to C/C++.

 Java has a special class library for communication using TCP/IP protocols. 

   Java is distributed because it facilitates users to create distributed applications in Java. 

RMI and EJB are used for creating distributed applications. This feature of Java makes us able to access files by calling the methods from any machine on the internet.


5) MultiThreading

Java multithreading feature makes it possible to write program that can do many tasks at a time / simultaneously.

     This design feature allows the developers to construct interactive applications that can run smoothly.

 Benefit of multithreading is that it put to use same memory and other resources to execute multiple threads at the same time, like While typing, grammatical errors are checked along.

  The main advantage of multithreading is that it does not hold memory for each thread. It shares a common memory area. Threads are important for multi-media, Web applications, etc.


6) Dynamic:

     Java is dynamic language. It support dynamic loading of classes. It means classes are loaded on requirements.

Java programs can carry an extensive amount of run-time information that can be used to verify and fix accesses to objects at run-time.

 It also supports functions from its native languages, i.e., C and C++.


Java supports dynamic compilation and automatic memory management (garbage collection).


7) architecture neutral:

       Java is architecture neutral because there are no implementation depending on features, for ex. The size of primitive types is fixed.

   Java compiler generate and architecture neutral object file format, which make the compiled code executed on many processes with the presence of Java runtime system.

   Java program is easy to interpret on any machine.


8) secure:

  Authentication techniques are based on public key encryption.

      With Java Sekar features is enables to develop virus free ,template free, systems software. 

  

  class loader bytecode verifier security manager Java language provide this securities by default.



9) robust:

      Java make and effort to eliminate error-prone situations by emphasizing mainly on compile time error checking and runtime checking.

   Robust simply means strong Java is robust because it uses strong memory management.

  There is lack of pointers that avoids security problems.

   There is automatic garbage collection in Java.


10) high performance.

    With the use of Just-In-Time compilers, Java enables high performance.

   Java is faster than other traditional interpreted programming languages because Java bytecode is "close" to native code.

  Java is an interpreted language, so it will never be as fast as a compiled language like C or C++. But, Java enables high performance with the use of just-in-time compiler.

Tags:
close