13 September 2009

0 Basic JAVA Tutorial - Features of JAVA

Basic JAVA Tutorial - CHAPTER-4

Features of JAVA - Object Oriented

Java is an Object Oriented Language. Object-Oriented design is a technique that helps the programmer visualize the program using real-life objects.
    Eventhough JAVA is an Object Oriented language, Unlike C++, It will not support Operator Overloading and Multiple inheritance. But, like every other Object oriented languages JAVA will support method overloading.


Features of JAVA - Robust

JAVA programming language is built in such a way that programmers can easily write Robust Programs.

For any programming language, the main reasons for program failure are:
(1) Memory management mistakes
(2) Mishandled run time errors.

      Java has solution to both these problems.
(1) With Java, Memory management is very easy since the de allocation is done by the garbage collector automatically.
(2) Java provides object oriented exception handling to manage run time errors.

Features of JAVA - Platform independent

Java is platform independent or in other words JAVA is Architecture Neutral or simply Portable. About a JAVA program, we can say "Write once, Run anywhere". Java is an Interpreter based language. With Java, the program needs to be compiled only once, and the code generated by the Java compiler can run on any platform. Java is platform independent at both the source and the binary level. Java can be easily ported on any type of system and irrespective of the operating system being used. Java achieves this portability due to its feature of Implementation Independency.

Features of JAVA - Secured

Java is a secured programming language because it provides the user with a Virtual Firewall between the applications and the computer thus ensuring that the data in the user’s system is protected by any possible Infectious contents. This is achieved by confining the Java program within the Java Runtime Environment.

Features of JAVA - Multithreading

Multithreading is the capability for a program to perform several tasks simultaneously within a program. A good example of mutithreading would be one of the game software where the GUI display, sound effect, timer control and score updating are happening within the same process simultaneously. In network programming, a server can serve multiple clients at the same time via mutithreading.

Features of JAVA - Designed for the Distributed Environment

Java is designed for the distributed environment of the Internet. Simply speaking, Java allows objects on two different computers to execute procedures remotely.

Features of JAVA - Simple

Java is a Simpler Language comparing to other Object oriented languages like C++. The reason is, Certain complex features like operator overloading, multiple inheritance, pointers, explicit memory de allocation are not present in Java language.



0 comments:

Feeds Comments

Please give your valuable comments.