What are the features of Java?
- OOP concepts:
- 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).
- High performance: JIT(Just In Time compiler) enables high performance. JIT converts the bytecode to machine code and then the JVM starts execution.
- 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