What are the features of Java?

What are the features of Java?


  1. OOP concepts:
    1. object-oriented;
    2. inheritance;
    3. encapsulation;
    4. polymorphism;
    5. abstract.
  2. Cross-platform: A Java program can be run on any platform without any modifications. The only thing you need is an installed JVM (java virtual machine).
  3. High performance: JIT(Just In Time compiler) enables high performance. JIT converts the bytecode to machine code and then the JVM starts execution.
  4. Multithreading: A thread of execution known as Thread. The JVM creates a thread called main thread. The programmer can create multiple threads by inheriting from the Thread class or by implementing the interface Runnable.
Rate article
Add a comment

Your email address will not be published. Required fields are marked *