Features of Java
There are many region behind popularity of Java programming language, these regions are called as Features of Java . Let’s see what important features of Java are.
Features of Java
Features of Java are listed below, let's know about them.
- Simple
- Secure
- Portable
- Multi-Threading
- Garbage Collector
- Object Oriented
- Intermediate
- Platform Independent
Simple
Java is a simple programming language, since it fallow similar syntax as C language and C++ language and it doesn’t consist of pointer concept.
Secure
Since there is no pointer concept as well as there is a .class file which is in the form of byte code, so java is more secure than other programming language.
Portable
Java is a portable programming language, we can write java code in different computer and after compilation we can copy .class file and can run in different computer, so Java is a portable programming language.
Multi-Threading
Java offers the concept of multi-threading in which we can run different – different threads simultaneously from the same process.
Garbage Collector
Garbage Collector automatically release or frees the memory which is occupied by an unused object.
In Java there is no concept of free() or delete() function like C programming to release or free memory.
Object Oriented
The concept of object oriented also called as heart of Java programming. It is one of the methodology to design & develop applications instantly and secure.
Principle of Object Oriented concepts
- Inheritance
- Polymorphism
- Encapsulation
- Abstraction
- Class & Object
Platform Independent
Java is a platform independent programming language because it generates .class file which can be run on any platform.
Definition of Platform Independent
Writing a code on a particular operating system and running that code of different operating system is called as platform independent.