3 (A)
Java is the most popular object-oriented programming
language. Java has many advanced features, a list of key
features is known as Java Buzz Words. The java team has
listed the following terms as java buzz words.
Simple
Secure
Portable
Object-oriented
Robust
Architecture-neutral (or) Platform Independent
Multi-threaded
Interpreted
High performance
Distributed
Dynamic
Simple
Java programming language is very simple and easy to
learn, understand, and code. Most of the syntaxes in java
follow basic programming language C and object-oriented
programming concepts are similar to C++. In a java
programming language, many complicated features like
pointers, operator overloading, structures, unions, etc. have
been removed. One of the most useful features is the
garbage collector it makes java more simple.
Secure
Java is said to be more secure programming language
because it does not have pointers concept, java provides a
feature "applet" which can be embedded into a web
application. The applet in java does not allow access to
other parts of the computer, which keeps away from
harmful programs like viruses and unauthorized access.
Portable
Portability is one of the core features of java which enables
the java programs to run on any computer or operating
system. For example, an applet developed using java runs
on a wide variety of CPUs, operating systems, and
browsers connected to the Internet.
Object-oriented
Java is said to be a pure object-oriented programming
language. In java, everything is an object. It supports all the
features of the object-oriented programming paradigm. The
primitive data types java also implemented as objects using
wrapper classes, but still, it allows primitive data types to
archive high-performance.
Robust
Java is more robust because the java code can be
executed on a variety of environments, java has a strong
memory management mechanism (garbage collector), java
is a strictly typed language, it has a strong set of exception
handling mechanism, and many more.
Architecture-neutral (or) Platform Independent
Java has invented to archive "write once; run anywhere,
any time, forever". The java provides JVM (Java Virtual
Machine) to to archive architectural-neutral or platform-
independent. The JVM allows the java program created
using one operating system can be executed on any other
operating system.
Multi-threaded
Java supports multi-threading programming, which allows
us to write programs that do multiple operations
simultaneously.
Interpreted
Java enables the creation of cross-platform programs by
compiling into an intermediate representation called Java
bytecode. The byte code is interpreted to any machine code
so that it runs on the native machine.
High performance
Java provides high performance with the help of features
like JVM, interpretation, and its simplicity.
Distributed
Java programming language supports TCP/IP protocols
which enable the java to support the distributed
environment of the Internet. Java also supports Remote
Method Invocation (RMI), this feature enables a program to
invoke methods across a network.
Dynamic
Java is said to be dynamic because the java byte code may
be dynamically updated on a running system and it has a
dynamic memory allocation and deallocation (objects and
garbage collector).
Java Is So Popular
One of the biggest reasons why Java is so popular is the
platform independence. Programs can run on several
different types of computer; as long as the computer has a
Java Runtime Environment (JRE) installed, a Java program
can run on it.
Java is user-friendly
. Java for everything!
Java boasts of rich API
Java has excellent documentation