The main features Features of Java






Java has the following features:

1. Simple and Powerful

       It is simple language with the basic concept of OOP which means Java inherit many OOP concept of C++. It is easy to learn and use effectively.

2. Platform Independent

      The most significance of Java is it's portability ie, Java can easily move from one computer system to another to anywhere at any time. An application developed from Java is usable on multiple platforms. Java programs are truly Write once,Run anywhere at any time and forever. Java ensures portability in two ways.

  i.Java compiler generates byte code instructions that can be implemented in any machines.

 ii.Size of the primitive data types are machine independent.

3. Object oriented

       Java is truly object oriented language. Everything in Java is an object. All program codes and data reside within the objects. Every program written in Java is contained within the classes. Java has an extensive set of classes arranged in packets and can be used in our programs.

4. Robust and Secure

     Java is a robust language.It provides many safeguards to ensure the security of the programs. It also incorporate the concept of exception handling, which catch these rise of errors. The security became an important role in this language. The absence of the pointer which ensure that programs cannot gain to access memory location without proper authentication.

5. Multithreaded 

        Java was designed to meet the real world requirement of creating and interacting network program. Multithreaded is an ability of program to perform multiple task of same time by using thread. A thread is an independent piece of code assigned to execute a discrete task. It results in faster execution of program.
eg:when you play a game in your computer one task of program to control the sound effect and other to display.

6. Distribution

      Java is designed for the distributed environment of the Internet because it handles TCP/IP protocol. Java is the distributor language for creating the application on the Internet. Java application can operate and access remotely.

7. Architectural neutral

       A control issue for the Java designers was that of code longevity and portability. One of the main problem facing by programmers is that no guarantee exist that if you write a program today it will run tomorrow even on the same machine. Java designers made several hard decision in Java language and Java virtual machine is an attempt to alter the situation. Their soul was write once,run anywhere at anytime forever.

Comments

Popular posts from this blog

Node.js Cheat Sheet

Codeigniter ! Simple But Powerful

Enhancing Supply Chain Security and Cloud-Native Development with Chainguard