Key Features of Java
Simple
Secure
Portable
Object-Oriented
Robust
Multithreaded
Architecture-neutral
Interpreted
Performance
Distributed
Java is simple
Java is secure.
Java is portable.
Java is platform-independent; programs can run in any environment as long as there is a Java runtime (JVM).
Java programs can run on any platform (Mac, Linux, Windows)
Java programs can be transferred over the Web. Ex: Applets.
Java is object-oriented.
Java is an object-oriented programming language.
Like C++, it provides features similar to those of an object-oriented language.
Java allows for the inheritance of properties and behavior from the parent class. We refer to this as inheritance.
Java supports method overloading and method overriding.
Java is robust.
Java is an error-free programming language.
Java is strictly typed and performs run-time checks.
Java prevents memory leaks. We refer to it as automatic garbage collection.
Java is multithreaded.
Java provides integrated support for multithreaded programming languages.
Java is architecture-neutral.
Java does not impose restrictions on any specific machine or operating system architecture.
Machine independent. i.e., Java is independent of hardware.
Java is interpreted
Java’s Performance
In Java, bytes are highly optimized.
JVM can execute them much faster.
Java is Distributed
The design of Java caters to a distributed environment.
You can transmit and run Java over the internet.
Java allows the creation of distributed programs in which components run on separate machines yet cooperate.