Some Common features of JAVA programming
language are as follows:
Compiled and
Interpreted:
o Java
is a two-stage system.
o First,
Java compiler translates source code into bytecode instructions.
o Secondly,
Java interpreter generates machine code that can be directly executed by the
machine.
Simple:
o Easy
to learn and use effectively.
Secure:
o The
absence of pointers in Java ensures that program cannot gain access to memory locations
without proper authorization.
Portable:
o Java
compiler generates bytecode instruction that can be implemented on any machine.
o The
sizes of primitive data types are machine-independent.
Object-Oriented:
o The
Object model in JAVA is simple and easy to extend, while primitive types, such
as integers, are kept as high performance nonobjects.
Robust:
o Java
is more robust because it manages memory management automatically.
Multithreaded:
o
Java supports multithreaded
programming, which allows writing program that do many things simultaneously.
Platform-Independent
Distributed:
o Java
is designed for the distributed environment of the internet because it handles
TCP/IP protocols.
o Java
also supports Remote Method Invocation(RMI). This feature enables a program to
invoke methods across the network.
Dynamic:
o
Java programs carry with them
substantial amounts of run-time type information that is used to verify and
resolve accesses to objects at run time. This makes it possible to dynamically
link code in a safe and expedient manner.
No comments:
Write comments