Java/Overview of Java

From Meshplex

Jump to: navigation, search
Image:Java_programming.jpg
Introduction to Java
Overview of Java
How to Setup Java on your PC
Data Types, Variables,and Arrays
Operators
Packages, Classes, and Interfaces
Java Program
Modifiers
Control Statements
Exception Handling
Object Oriented Programming
Wrappers
Strings
Math
Arrays
Random Numbers
Date and Time
Regular Expressions
Java Collections
Generics
Java Thread and Multithreading
Java IO and file Handling
Java Network Programming
RMI
Image, Audio, Video
GUI
Applets
Internationalization
JDBC
Java and XML
Although the other programming languages which existed before the origin of Java were as good and user friendly to the professional programmers, they still expected something advance to come up with all those features which were definitely the cause of worry to them with respect to the security of their code and this thought gave birth to a revolution which discovered another Programming Language-JAVA with the features to ensure the security and the portability of their programs. Developing your applications using the Java programming language results in software that is portable across multiple machine architectures, operating systems, and graphical user interfaces, secure, and high performance.

Not only the security, but there were few more areas which were taken care by this Programming Language normally identified as the JAVA-BUZZWORDS. These words define the additional features and considerations which gave JAVA- complete success and acceptance from the programmers of the software World. Together, the above requirements comprise quite a collection of buzzwords, so let's examine some of them and their respective benefits before going on.

* Simple & Object-oriented
* Secure & Portable
* Robust
* Multithreaded & Architecture-neutral
* Interpreted & High performance
* Distributed & Dynamic
Although these Buzzwords are self explanatory in them. We will take a quick look on each one of them in our tutorial below.
Simple and Object-Oriented
As mentioned above while discussing the overview of Java we understood that Java got it’s origin as a result of the deep study of the pre-existing Programming languages like C and C++. It makes very easy for any professional programmer to have a clear understanding of Java and its functionality if he has basic knowledge of C++ and the OOPS (Object Oriented programming) concepts.[We will discuss Object Oriented programming in details in the sections later in tutorial.] And hence the fundamental concepts of Java technology can be grasped quickly and the programmers can be productive from the very beginning as its look and feel makes it comfortable to the programmers as the beginners of Java Too. Not only this, the Founders of JAVA made sure that although Java is originated from the basics of the pre-existing Programming Languages it still avoids the features of those languages which were confusing and were not accepted happily by the Professionals.The Java programming language is designed to be object oriented from the ground up. After thirty years of regular exercise finally the Object technology got the acceptance in the programming mainstream. The Object Oriented Concepts made it possible to function within increasingly complex, network-based environments, and so it can be concluded that Java technology provides a clean and efficient object-based development platform to the programmers.
Secure & Portable
As discussed previously, under the head JVM (Java Virtual machine ) , the output which we get from the Java Complier is not in the form of directly ‘Executable Code’ but it is in the form of BYTE CODES., Byte code is nothing but the set of instructions which are executed by the Java Run time Environment, the JVM.

Irrespective of all the other programming languages which are complied, java is actually interpreted by the JVM and hence makes it very much safe and secure to be downloaded through the internet as JVM makes sure that the Java Program is in its complete control and do not effect anything outside its environment.

Since the code gets converted into the Byte Code by the JVM, it gives huge amount of portability to Java as it can run on any platform in any environment provided they have the JVM available on it. The Byte codes will always be the same in spite of having variations in the JVM with respect to the environment and this is one of the other very strong supportive features of JAVA.

Robust
Java is considered to be a very robust Programming language ass it ensures that the Java Programs run easily and successfully on the variety of environments and platforms.

Since Java is a strictly typed language it helps the programmer to reduce the chances of making the run time errors and also handling them within the programs itself which normally cannot happen in other programming languages.

Multithreaded & Architecture-neutral
Multithreading is another feature of Java which lets programmer opt for Java as the programming language as it facilitates the programmer to do various tasks within one program itself without having issues of conflicts between the tasks.

As its been discussed earlier in the sections above, that Java Program gets converted into Byte Code which is very much platform independent it makes Java as highly Architecture-neutral. And hence it can be stated that Java has successfully achieved “write once; run anywhere, any time, forever.” which was the basic goal of the inventors of Java Programming Language.

Interpreted & High performance
Java programs get converted into Byte code which is easily interpreted by the JVM on any machine and in any environment and although it gets interpreted by the JVM it is not the case that the Java Code can’t be complied into the native machine code and it is taken care by the JIT (Just –In-Time) Complier which is available with the JVM and thus ensures very high Performance of the language.
Distributed and Dynamic
Since, Java was designed with the aim of making it accessible over the internet, providing it the feature of being called as Distributed programming language was very important as it had to handle the TCP/IP protocols of the internet .Java technology and its runtime environment have combined them to produce a flexible and powerful programming system.

Since the byte codes are loaded in small application forms as applets it becomes mandatory for Java programs to carry the sufficient amount of information related to the objects which are executed at the run time so as to provide verification with respect to that particular object hence giving it the feature of being called as Dynamic Language too.

These above mentioned features can be easily termed as the major wings of the Java Programming language which has given it the open acceptance of the professions of the programming World

Image : Java_chateristic.jpg
Previous Next
Personal tools