FEATURES OF JAVA
List of most important Java features
- Simple
- Object-Oriented
- Portable
- Platform independent
- Secured
- Robust
- Architecture neutral
- Interpreted
- High Performance
- Multithreaded
- Distributed
- Dynamic
Simple
Java is very easy to learn, and its syntax is simple, clean and easy to understand.
Object-oriented
Java is an object-oriented programming language. Everything in Java is an objects.
Oops concepts
- Object
- Class
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation.
Platform Independent
Secured
Java is best known for its security. With Java, we can develop virus-free systems. Java is secured because:
- No explicit pointer
- Java Programs run inside a virtual machine sandbox
Robust
Robust simply means strong. Java is robust because:
- It uses strong memory management.
- There is a lack of pointers that avoids security problems.
- There is automatic garbage collection in java which runs on the Java Virtual Machine to get rid of objects which are not being used by a Java application anymore.
- There are exception handling and the type checking mechanism in Java. All these points make Java robust.
Portable
Java is portable because it facilitates you to carry the Java bytecode to any platform. It doesn't require any implementation
Multi-threaded
A thread is like a separate program, executing concurrently. We can write Java programs that deal with many tasks at once by defining multiple threads. The main advantage of multi-threading is that it doesn't occupy memory for each thread. It shares a common memory area. Threads are important for multi-media, Web applications, etc.
Dynamic
Java is a dynamic language. It supports dynamic loading of classes. It means classes are loaded on demand. It also supports functions from its native languages, i.e., C and C++.
Java supports dynamic compilation and automatic memory management (garbage collection).
Comments
Post a Comment