Features of java
1) Simple
Java is easy to learn and its syntax is quite simple, easy to understand.The confusing and ambiguous concepts of C++ are removed in Java or they have been re-implemented in a easyway.Pointers and Operator Overloading are very complex and confusing concepts in C++ but they are removed on java.
2) Object Oriented
In java we can represent real world entities as Object which has some properties and behaviour.3) Robust
Java makes an effort to eliminate error prone codes by emphasizing mainly on compile time error checking and runtime checking. But the main areas which Java improved were Memory Management and mishandled Exceptions by introducing automatic Garbage Collector and Exception Handling.4) Platform Independent
Unlike other programming languages such as C, C++ etc which are compiled into platform specific machines. Java is guaranteed to be write-once, run-anywhere language.
On compilation Java program is compiled into bytecode. This bytecode is platform independent and can be run on any machine, plus this bytecode format also provide security. Any machine with Java Runtime Environment can run Java Programs.
Comments
Post a Comment