Features Of Java
The main objective of Java Programing was to make it portable, simple and secur programming language. The features of java language is as below.
1. Simple:
Java is very easy to learn and syntax is simple, clean and easy to understand. Java syntax is base on C++ so easier for programmers to learn it after C++. Java has removed many complicated and rarely use features for example, explicit pointer, operator overloading etc. In java, there is no need to remove unreferenced object because there is Automatic Garbage Collection in java.
2. Object Oriented:
In java the data and methods can flow in the form of object so it is call Object-oriented programing language. Object oriented programming is a methodology that simplifies software development and maintain by providing some rules. The basic concepts of OOPS are:
- Object
- Class
- Inheritance
- Ploymorphism
- Abstraction
- Encapsulation
3. Portable:
Java is portable because you carry the Java bytecode to another platform to run. It doesn't required any implementation.
4. Platform Independent:
Java is platform independent because it will write once and run anywhere language. A platform is the hardware or software in which a program runs.
5. Secured:
Java is best known for its security because there is no explicit pointer and java program run inside a virtual machine.
6. Robust:
Robust means Strong, Java is robust because
- It has strong memory management.
- There is lack of pointer that avoid security problems.
- Automatic garbage collection which removes not use object in java application.
7. Architecture natural:
Java is architechure in natural because there are no implementation dependent features, for examples, the size of primitive types is fixed.
8. High Performance:
Java is faster than other traditional interpreted programming language because java bytecode is 'close' to native code.
9. Multithreaded:
A thread is like a separate program, executing concurrently. We can run many tasks at once by defining multiple threads that means we need not wait for the application to finish one task before beginning another. The main advantage of multithreading is that it doesn't occupy memory for each thread. It shares a common memory area.
10. Distributed:
Java is design as a distributed language for creating applications on network. It has ability to share data and program over network. Java application can open and access remote objects on internet as easy as they can do on local system. This enables multiple programmer at multiple remote locations to collaborate and work together on single project. This feature java make us able to access file by calling the methods from any machine on internet.
11. Dynamic:
Java is a dynamic language. It supports dynamic loading of classes. It means classes are load on demands. Java supports dynamic compilation and automatic memory management (Garbage collection).
Comments
Post a Comment