The Best Technical Blog Ever


Features of Java

  • Object Oriented:
    Java is a object oriented programming. It can be easily extended since it is based on the Object model.

  • Platform independent:
    Unlike many other programming languages (C and C++), Java is not compiled into platform specific machine. It can run on any platform. Java platform differs from most other platforms in the sense that it is a software based platform that runs on top of other hardware based platforms. It has two components 1)Run time environment 2)Application Programming Interface(API). Java code is compiled by the compiler and converted into byte code. This byte code is distributed over the web and interpreted by virtual Machine (JVM) on whichever platform it is being run. (Write Once and Run Anywhere- WORA)

  • Simple:

    It is designed to be easy to learn. Java would be easy to master, if we know the basic concept of OOP. Because java syntax is based on C++. It removed most complicated features like explicit pointers, goto statements, operator overloading, multiple inheritance etc.. and also no need to remove unreferenced objects because of automatic garbage collection.

  • Secure:

    Java is secure because programs run inside the virtual machine sandbox. With Java's security feature, it enables to develop virus-free, tamper-free systems. Java doesn't have pointer concepts. It ensures that programs cannot get right of entry to memory location without proper approval. Authentication techniques are based on public-key encryption.

  • Architectural-neutral :

    Java compiler generates an architecture-neutral object file format. It makes the compiled code to be executable on many processors, with the presence of Java runtime system and also there is no implementation dependent features.

  • Portable:

    Being architectural-neutral and having no implementation dependent aspects of the specification makes Java portable. You can carry the java bytecode to any platform.

  • Robust:

    Java gives robustness by emphasizing mainly on compile time error checking and runtime checking. Java uses strong memory management. In java, we have automatic garbage collection,type checking mechanism, exception handling and no pointers concept that avoids security problem. All these points makes java robust.

  • Multithreaded:

    With Java's multithreaded feature, we can write Java programs that deal with many tasks at once by defining multiple threads.It manages multiple tasks simultaneously (i.e) No need of waiting to complete one task before starting next task. This design feature allows developers to construct smoothly running interactive applications. A thread is like a separate program, executing concurrently. The main advantage of multi-threading is that it shares the same memory. Threads are important for multi-media, Web applications etc.

  • High Performance:

    With the use of Just-In-Time compilers, Java enables high performance. Java architecture is also designed to reduce overheads during runtime. The incorporation of multithreading improves the execution of program.

  • Distributed:

    It is designed for the distributed environment of the internet which can contribute both data and programs. So, Java applications can open and access remote objects on Internet easily. Multiple programmers at multiple remote locations can work together on single task..

  • Interpreted:

    Generally a computer language is either compiled or interpreted. But Java language comes together both these approach thus making Java a two-stage system. Java compiler translates Java code to Bytecode instructions. By Java Interpreter, Byte code is translated into machine code that can be directly executed by machine and is not stored anywhere. The development process is more rapid and analytical since the linking is an incremental and light weight process.

  • Dynamic:

    Java is considered to be more dynamic than C or C++ since it is designed to adapt to an evolving environment. It is capable of dynamically linking in new class, libraries, methods and objects. Java program supports function written in other language such as C and C++, known as native methods, Java programs can carry extensive amount of run-time information that can be used to verify and resolve accesses to objects on run-time.

Keypoints to remember in java

1. Java is a high level, robust, secured , platform independent and object oriented programming.... more info

Back to Basics:- Java Syntax

In this session, you are going to refresh some basic set of rules(java syntax), defining how a ... more info

Total Visits
Traffic feed status