As Java is Platform independent language so it is not specific to any processor or operating system. Java Editions includes execution engine, compiler and set of libraries. Java Editions or we can say the platform is a collection of programs which helps to develop and run the programs that are written in Java Programming language.
Java Byte code can be carried to any platform. 7) Architectural NeutralĬompiler generates bytecodes, which have nothing to do with a particular computer architecture, hence a Java program is easy to intrepret on any machine. Benefit of multithreading is that it utilizes same memory and other resources to execute multiple threads at the same time, like While typing, grammatical errors are checked along.
Java multithreading feature makes it possible to write program that can do many tasks simultaneously. Java program always runs in Java runtime environment with almost null interaction with system OS, hence it is more secure.
With java secure features it enable us to develop virus free, temper free system. When it comes to security, Java is always the first choice. Any machine with Java Runtime Environment can run Java Programs.
This bytecode is platform independent and can be run on any machine, plus this bytecode format also provide security. On compilation Java program is compiled into bytecode. Java is guaranteed to be write-once, run-anywhere language.
Unlike other programming languages such as C, C++ etc which are compiled into platform specific machines.
But the main areas which Java improved were Memory Management and mishandled Exceptions by introducing automatic Garbage Collector and Exception Handling. Java makes an effort to eliminate error prone codes by emphasizing mainly on compile time error checking and runtime checking. Following are some basic concept of OOP's.
Java can be easily extended as it is based on Object Model. In java, everything is an object which has some data and behaviour. Java is easy to learn and its syntax is quite simple, clean and easy to understand.The confusing and ambiguous concepts of C++ are either left out in Java or they have been re-implemented in a cleaner way.Įg : Pointers and Operator Overloading are not there in java but were an important part of C++. Beside these two major features, there were many other features that played an important role in moulding out the final form of this outstanding language. The prime reason behind creation of Java was to bring portability and security feature into a computer language.
Connecting to Access using Type-1 Driver.Method Overriding with Exception Handling.Difference between Classes And Interface.