Saturday 1 October 2016

Features of java

Features of java: 


  • The java programming language has a number of features that make it the language Of choice for most developers .The reason why java is so popular that it is object oriented platform independent does not use pointers has support for multi-threading has a robust exception handling mechanism has good security. Features allows us to create applets and Servlets for use on the web. 


1. Compiled and interpreted:

   A computer language is either compiled or interpreted.

   Java combines both features therefore it is two stage system.

   First java compiler translate source code into byte code and byte code is not machine
instruction therefore interpreter translate byte code into machine code.

2. Platform independent and interpreted:

   Java programs can be easily moved from one computer system to another system.

   If you upgrade in any operating system then it will not affect in the java programs.

3. Object oriented:

   Java is true object-oriented language.

   Almost everything in java is an object.

   Java is an extensive set of classes which are arranged in packages and we can use it by
inheritance.

4. Robust and secure:

   Java a robust language because it provide many safeguards to ensure reliable code.

   It will check data type compile time and runtime.

   Security becomes an important point for a java programming on internet.

5. Distributed:

   Java is designed as a distributed language for creating application on networks.

   It has the ability to share both data and programs.

   In java multiple programmers at multiple remote locations to collaborate and work
together on a single project.

6. Simple small and familiar:

   Java is a small and simple language.

   Many features of C and C++ are not come in java so it become small.

   For example, java does not use pointers, operator overloading, preprocessor header

files, go to statement, multiple inheritance.

   Java has more feature of C and C++ so that java is familiar to us.

7. Multithreaded and interactive:

   Multithreaded means handling multiple tasks simultaneously.

   Java support multithreaded means we need not wait for the application to finish one

task before beginning another task.

   For example, we can listen to an audio clip while scrolling a page.

   This improves interactive program.

8. High-performance:

   Java architecture is defined to reduce error and amount of time.

   So that java gives high performance.

9. Dynamic and extensible:

   Java is dynamic language because it is capable of dynamically linking a new class
libraries, method and classes.

   Java program support functions written in other language such as C and C++.

   These functions are known as native methods.


10.Monitoring and manageability:

   Java supports a number of APIs, such as JVM Monitoring and management interface.

   It manages java programs.


Why java is so popular?


The reason why java is so popular is that it is :

   object-oriented

   platform independent

   Does not use pointer

   support multi-threading

   robust exception handling mechanism

   Full network support

   Good security

   Allows you to create applets and servlets for use on the web.

However, most importantly java is popular because Java is Easy

No comments:
Write comments

Labels

ADVERTISEMENT