Wednesday 11 November 2015

Java Advantages / Buzzwords / Features

Easy to learn: Java was designed to be easy to use and is therefore much easier to write, compile, debug, run and learn than other programming languages.

Object-oriented: It is a methodology that simplify software development and maintenance by providing below concepts

Objects and Classes
Inheritance
Polymorphism
    Static Polymorphism (Overloading)
    Dynamic Polymorphism (Overriding)
Abstraction
Encapsulation

Platform-independent:  Java code is compiled by the compiler and converted into bytecode. This bytecode is a platform independent code. Because Java byte code can be run on multiple platforms like Windows, Linux, Mac Operating Systems. That’s why java is “Write Once and Runs Anywhere”

Distributed:  Distributed means access the functions / methods / files from other machines. EJB and Web Services are used for creating distributed applications.

Secure:  Java is secured because java code run inside JVM by taking byte code.

Note: we will discuss complete JVM architecture in next chapter.

Robust:  Java uses Robust / Strong memory management because of automatic garbage collection and exception handling mechanism in java.


Multithreaded: Multithreading means to perform multiple tasks simultaneously within a program. It is similar to multi-tasking (i.e., playing videos, writing notes on notepad) in Operating system.

No comments:

Post a Comment