Features of Java programming language
Java is one of the best programming language of 21st century. It is most popular among the developers for its features. Let's see what are the main features of Java
![]() |
Photo courtesy www.javatpoint.com |
1.Object Oriented
java is a object oriented programming language, everything is object based here.In java we do program by combining different types of object and using the data & behavior of those object.
The main concept of Object Oriented Programming are
- Class
- Object
- Encapsulation
- Abstraction
- Inheritance
- Polymorphism
- Association
- Aggregation, etc
2.Platform Independent
Platform is a hardware or software environment where a program runs. Java compiler compile the program and convert it into byte code. Then JVM makes the byte code machine readable.This is why java is platform independent and we can run a program in any platform or operating system.This is a huge advantage of Java.
![]() |
Photo courtesy www.javatpoint.com |
3.Simple
Java is a simple programming language.Its syntaxes are easy to understand and based on C++. Developers has make is comparatively easier than C++.There are no Explicit, Pointer, Operator Overloading in java. It also have automatic Garbage collector.
4.Security
Java is known for its security in network environment.Java is run inside a virtual machine and the byte code is not human readable.There is no explicit in java.It has security manager and byte code verifier by-default. We also can add external security by SSL,JAAS and Cryptography.
For all these reason java is highly secured.
5.Robust
Robust generally means Strong. Java is a very strong language.It has strong memory management, no use of pointer. There is Exception Handling and type checking mechanism in java. That's why Java is Robust.
Java has some more features such as Architecture Neutral, Multi-threaded, Portable,High performance, etc.
No comments