To Handle Ad Blocker

Features Of Java

There is given many features in java. They are also called Java buzzwords. Today we will discuss those features/buzzwords.

  • Simple:

    Syntax is based on C++ so it is easier for programmer to learn it after C++. It removes many confusing features e.g explicit pointers , operator overloading etc. There is Garbage Collector in java which automatically removes unreferenced objects.

  • Object Oriented:

    Object-oriented programming (OOPs) is a methodology that simplifies software development and maintenance by providing some rules. Java is pure object oriented language.It supports all the features of Object Oriented Programming. Everything in Java is an object. Object-oriented means we organize our software as a combination of different types of objects that incorporates both data and behavior.

  • Platform Independent:

    There are two type of platform: Software Based and Hardware Based. Java provides software based platform that runs on the top of other hardware based platform. Java codes can be run anywhere after it is compiled because it is converted into bytecode.

  • Secured:

    Java is secured because it runs inside in virtual machine sandbox and it don't have explicit pointers.

  • Robust:

    It means strong. Java uses strong memory management , No explicit pointer , garbage collector , Exception Handling and type checking mechanism . This point make java strong.

  • Architecture Neutral:

    There is no implementation dependent features e.g size of primitive type is set.

  • Portable:

    We may carry java bytecode anywhere to any platform.

  • High Performance:

    Faster than traditional interpretation since bytecode is close to native code still somewhat slower than a compiled language (e.g c++).

  • MultiThreaded:

    We can write java program that deals with many task at the same time. by defining multiple thread. The main advantage of multiple threading program is that it shares the same resource.

  • Distributed:

    RMI and EJB are used for creating distributed applications in java.We can access the files by calling the methods from any machine on the internet.

« Previous Next »