FEATURES OF JAVA

List of most important Java features


  1. Simple
  2. Object-Oriented
  3. Portable
  4. Platform independent
  5. Secured
  6. Robust
  7. Architecture neutral
  8. Interpreted
  9. High Performance
  10. Multithreaded
  11. Distributed
  12. 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 

  1. Object
  2. Class
  3. Inheritance
  4. Polymorphism
  5. Abstraction
  6. Encapsulation.

Platform Independent


Java code can be run on multiple platforms, for example, Windows, Linux, Sun Solaris, Mac/OS, etc. Java code is compiled by the compiler and converted into bytecode. This bytecode is a platform-independent code because it can be run on multiple platforms, i.e., Write Once and Run Anywhere(WORA).



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

Popular posts from this blog

OBJECT ORIENTED CONCEPTS

Arrays programms