Features of Java
Some important
Features of Java are given below
- Simple
- Easy
- Robust
- Secure
- Distributed
- Portable
- Multithreading
- Architecture-Neutral
- Platform Independent
- High Performance
Simple, easy and familiar:
Java is easy to learn and familiar because java syntax is just like c++. It does not use header files. No use of pointer and operator overloading.
Platform Independent:
Write once, run anywhere (WORA).
Object-Oriented:
It is Object Oriented Programming Language.
Robust:
Robust means inbuilt capabilities to handle errors/exceptions.
Secure:
Java is secure because it provides: Access restrictions with the help of access modifiers (public, private etc). Byte codes verification – checks classes after loading.
Distributed:
Java provides the network facility. i.e. programs can be access remotely from any machine on the network rather than writing program on the local machine. HTTP and FTP protocols are developed in java.
Compiled and interpreted:
Java code is translated into byte code after compilation and the byte code is interpreted by JVM (Java Virtual Machine). This two steps process allows for extensive code checking and also increase security.
Portable:
Means able to be easily carried or moved. Write once, run anywhere (WORA) feature makes it portable.
Architecture-Neutral:
Java code is translated into byte code after compilation which is independent of any computer architecture, it needs only JVM (Java Virtual Machine) to execute.
High performance:
JVM can execute byte codes (highly optimized) very fast with the help of Just in time (JIT) compilation technique.
Re-usability of code:
Java provides the code reusability Using Inheritance Concept.
Multithreading:
Java provides multitasking facility with the help of lightweight processes called threads.
Dynamic:
Java have the capability of linking dynamic new classes, methods and objects.
No comments :
Post a Comment