JAVA Features
As we
know that the Java is an object oriented programming language developed by Sun
Microsystems of USA in 1991. Java is first programming language which is not
attached with any particular hardware or operating system. Program developed in
Java can be executed anywhere and on any system.
Features
of Java are as follows:
1. Compiled and Interpreted
2. Platform
Independent and portable
3. Object- oriented
4. Robust and secure
5. Distributed
6. Familiar, simple
and small
7. Multithreaded and Interactive
8. High performance
9. Dynamic and
Extensible
1.
Compiled and Interpreted -
Basically a computer language is either compiled or interpreted. Java comes together both these approach thus making Java a two-stage system.
Basically a computer language is either compiled or interpreted. Java comes together both these approach thus making Java a two-stage system.
Java
compiler translates Java code to Byte code instructions and Java Interpreter
generate machine code that can be directly executed by machine that is running
the Java program.
2.
Platform Independent and portable -
Java supports the feature portability. Java programs can be easily moved from one computer system to another and anywhere. Changes and upgrades in operating systems, processors and system resources will not force any alteration in Java programs. This is reason why Java has become a trendy language for programming on Internet which interconnects different kind of systems worldwide. Java certifies portability in two ways. First way is, Java compiler generates the byte code and that can be executed on any machine. Second way is, size of primitive data types are machine independent.
Java supports the feature portability. Java programs can be easily moved from one computer system to another and anywhere. Changes and upgrades in operating systems, processors and system resources will not force any alteration in Java programs. This is reason why Java has become a trendy language for programming on Internet which interconnects different kind of systems worldwide. Java certifies portability in two ways. First way is, Java compiler generates the byte code and that can be executed on any machine. Second way is, size of primitive data types are machine independent.
3.
Object- oriented -
Java is truly object-oriented language. In Java, almost everything is an Object. All program code and data exist in objects and classes. Java comes with an extensive set of classes; organize in packages that can be used in program by Inheritance. The object model in Java is trouble-free and easy to enlarge.
Java is truly object-oriented language. In Java, almost everything is an Object. All program code and data exist in objects and classes. Java comes with an extensive set of classes; organize in packages that can be used in program by Inheritance. The object model in Java is trouble-free and easy to enlarge.
4.
Robust and secure -
Java is a most strong language which provides many securities to make certain reliable code. It is design as garbage – collected language, which helps the programmers virtually from all memory management problems. Java also includes the concept of exception handling, which detain serious errors and reduces all kind of threat of crashing the system.
Java is a most strong language which provides many securities to make certain reliable code. It is design as garbage – collected language, which helps the programmers virtually from all memory management problems. Java also includes the concept of exception handling, which detain serious errors and reduces all kind of threat of crashing the system.
Security is an important feature of Java and this is the
strong reason that programmer use this language for programming on Internet.
The absence of pointers in Java ensures that programs cannot
get right of entry to memory location without proper approval.
5.
Distributed -
Java is called as Distributed language for construct applications on networks which can contribute both data and programs. Java applications can open and access remote objects on Internet easily. That means multiple programmers at multiple remote locations to work together on single task.
Java is called as Distributed language for construct applications on networks which can contribute both data and programs. Java applications can open and access remote objects on Internet easily. That means multiple programmers at multiple remote locations to work together on single task.
6.
Simple and small -
Java is very small and simple language. Java does not use pointer and header files, goto statements, etc. It eliminates operator overloading and multiple inheritance.
Java is very small and simple language. Java does not use pointer and header files, goto statements, etc. It eliminates operator overloading and multiple inheritance.
7.
Multithreaded
-
An Interactive Multithreaded means managing multiple tasks simultaneously. Java maintains multithreaded programs. That means we need not wait for the application to complete one task before starting next task. This feature is helpful for graphic applications.
An Interactive Multithreaded means managing multiple tasks simultaneously. Java maintains multithreaded programs. That means we need not wait for the application to complete one task before starting next task. This feature is helpful for graphic applications.
8.
High performance -
Java performance is very extraordinary for an interpreted language, majorly due to the use of intermediate bytecode. Java architecture is also designed to reduce overheads during runtime. The incorporation of multithreading improves the execution speed of program.
Java performance is very extraordinary for an interpreted language, majorly due to the use of intermediate bytecode. Java architecture is also designed to reduce overheads during runtime. The incorporation of multithreading improves the execution speed of program.
9.
Dynamic and Extensible -
Java is also dynamic language. Java is capable of dynamically linking in new class, libraries, methods and objects. Java can also establish the type of class through the query building it possible to either dynamically link or abort the program, depending on the reply.
Java is also dynamic language. Java is capable of dynamically linking in new class, libraries, methods and objects. Java can also establish the type of class through the query building it possible to either dynamically link or abort the program, depending on the reply.
Comments
Post a Comment