The major goal of the Java programming language's development was to make it portable, simple, and secure. Apart from that, there are certain outstanding features that contribute significantly to the language's popularity. Java features is also known
as Java buzzwords
The following is a list of the most important features of the Java programming language.
-
Simple
-
Object-Oriented
-
Platform Independent
-
Secure
-
Robust
-
Portable
-
Architecture Neutral
-
Multithreaded
-
Dynamic
-
Distributed
-
High Performance
-
Simple - Java is design in a way that programmer who understand c and c++ language can easily understand java beacuse java syntax is based on C++
(so its very easy for programmers to learn it after C and c++). In Java many topic are removed like, explicit pointers, operator overloading, etc.
-
Object-Oriented - Java is based on concept of object-oriented programming language. In Java everything is an object. Object-oriented means combination of different types of objects i.e software that
have both data and behavior. Object-oriented programming (OOPs) is a methodology that provide some rules for software development and maintenance these rules make software development process smooth.
-
Platform Independent - Java is a programming language that is platform independent because it differs from other languages like C, C++, etc. these language are compiled into platform specific machines while
Java uses bytecode system i.e write once, run anywhere. A platform is nothing but the environment may be hardware or software environment in which a program runs. platform can be devided in two type software-based platform and hardware-based platorm. Java offers a
software-based platform. Java has two components first one is Runtime
Environment and second is API(Application Programming Interface) Java code can be executed on various platforms, like Windows, Linux etc. First Java code is compiled and
converted into bytecode and now bytecode is a platform-independent code because it can be run on multiple platforms, i.e., Write Once and Run Anywhere (WORA) but that bytecod neneed to convert to machine code for paticlular environment.
-
Secure - Java is very secured programming language. virus-free systems can be developed using Java. Java is secured because it does not use explicit pointer and Java programs run inside a virtual machine so zero intration with system operating system hence it is secure
-
Robust - The meaning of Robust is strong. Java is robust(strong) because
-
Java does not allow explicit pointer.
-
Java uses strong memory management.
-
Java uses automatic garbage collection.
-
Java provide Exception Handling to handle run time error.
-
Portable -Java is very portable programming language. Java code can be reused i.e write once, run anywhere it give portablity you to carry the Java bytecode to any platform. It save time and doesn't require any implementation.
-
Architecture Neutral - Java is architecture neutral because java compiler generate bytecode that can be used on any platorm. It occupies 4 bytes of memory for both 32 and 64-bit architectures in Java means architecture neutral.
-
Multithreaded - A thread is like a small separate program, executing at same time. We can write Java programs that can do multiple task at once by defining multiple threads. The main advantage of multi-threading
is that it shares a common memory area.
-
Distributed - Java is distributed language. Java has a class library to establish communicating using TCP/IP protocols. Java program can be used to run on computer network.
-
High Performance - Java is an interpreted language so java can not be compiled faster than c and c++ compiler because java uses a extra layer of compilation i.e java program to bytecode and bytecode to machine code.just-in-time compiler enables high performance of java.
Post your comment