Logo letter

History and Overview

Java is a general-purpose, object-oriented scripting language developed by Sun Microsystems as an environment for developing applications. Java is cross-platform, allowing it to be used in software developed for different operating systems, including Windows, Linux, Solaris, and IBM PCs. Java code is executed by servers running on the internet and can be distributed as either downloads or programs downloaded through web links. Java code execution is highly efficient due to its parallel execution capability, and there are no Garbage Collection errors as in the case of garbage-collected languages. However, there are some drawbacks with Java, such as its strict typing and Java memory management.


Java has various advantages over other object oriented programming languages. Java code can be executed as soon as it is written, so there is no need to wait for the program to be compiled or optimized. Java also supports a large number of features that make it very flexible and productive, including generic programming, dynamic classloading, static typing, and many others. Java can also be used directly within other applications and is free from many restrictions that other languages may have. It has been used to create extremely successful online games and web applications.


The major advantage of the Java programming language is that it can run quickly on any operating system without requiring any special hardware. This is because the Java virtual machine optimizes the execution process so that each instruction runs without making any copies. This is called garbage collection, because the collector collects the memory references after the execution has completed. Java can run on the same machine as many other applications. The use of Java code is also highly flexible because it can be embedded into other applications without using a separate program. See Java questions here!


Java applications are written in a low-level language, Java bytecode. Java application development requires the use of a Java programming language, such as Java virtual machine, Sun's Eclipse and NetBeans. The Java compiler emits compact bytecode, which is able to fit into the page that contains HTML code. The compact bytecode enables the Java compiler to emit a Java application that shares many of the same features of its source code, but is compact and faster to execute. Read more about software at http://www.ehow.com/how_2458_install-computer-program.html.


Java also offers platform-independent program languages. Each platform has its own set of bytecode instructions, which makes the programs generated by the Java compiler to run in the right way on each different platform. This is the primary advantage of the Java technology, which allows it to run on a variety of operating systems. Look for Core Java Interview Questions here!


Java can be used directly or indirectly via a Java application. When used directly, Java runtime environment creates a compatible application where the code is identical to the one that comes with the operating system. When used indirectly, an application that depends on another application, called an interpreter, is created. The interpreter reads a Java byte code and executes it inside the Java runtime environment. A Java application written using the Java programming language can be distributed for free along with the operating system and/or browser without the need for a Java runtime environment.