Programming Languages Directory

Site Topics

C Programming Language
Assembling Computers
CIS
Computer Science Careers
Women and Computer Science
ADA Programming Language
ALGOL Programming Language
APL Programming Language
AWK Programming Language
Basic Programming Language
C++ Programming Language
COBOL Programming Language
Delphi Programming Language
Eiffel Programming Language
Euphoria Programming Language
Forth Programming Language
FORTRAN Programming Language
HTML Programming Language
ICON Programming Language
Java Programming Language
Javascript Programming Language
LISP Programming Language

 

The Java Programming Language

Free resources updated everyday:

XXXLINKSXX

The Java programming Language evolved from a language named Oak. Oak was developed in the early nineties at Sun Microsystems as a platform-independent language aimed at allowing entertainment appliances such as video game consoles and VCRs to communicate .

Oak was first slated to appear in television set-top boxes designed to provide video-on-demand services. Just as the deals with the set-top box manufacturers were falling through, the World Wide Web was coming to life. As Oak’s developers began to re cognize this trend, their focus shifted to the Internet and WebRunner, an Oak-enabled browser, was born. Oak’s name was changed to Java and WebRunner became the HotJava web browser.

The excitement of the Internet attracted software vendors such that Java development tools from many vendors quickly became available. That same excitement has provided the impetus for a multitude of software developers to discover Java and its many wonderful features.

Significant Language Features

  • Platform Independence- Java compilers do not produce native object code for a particular platform but rather ‘byte code’ instructions for the Java Virtual Machine (JVM). Making Java code work on a particular platform is then sim ply a matter of writing a byte code interpreter to simulate a JVM. What this all means is that the same compiled byte code will run unmodified on any platform that supports Java.
  • Object Orientation- Java is a pure object-oriented language. This means that everything in a Java program is an object and everything is descended from a root object class.
  • Rich Standard Library- One of Java’s most attractive features is its standard library. The Java environment includes hundreds of classes and methods in six major functional areas.
  • Language Supportclasses for advanced language features such as strings, arrays, threads, and exception handling.
  • Utility classes like a random number generator, date and time functions, and container classes.
  • Input/output classes to read and write data of many types to and from a variety of sources.
  • Networking classes to allow inter-computer communications over a local network or the Internet.
  • Abstract Window Tool kit for creating platform-independent GUI applications.
  • Applet is a class that lets you create Java programs that can be downloaded and run on a client browser.
  • Applet Interface- In addition to being able to create stand-alone applications, Java developers can create programs that can downloaded from a web page and run on a client browser.
  • Familiar C++-like Syntax- One of the factors enabling the rapid adoption of Java is the similarity of the Java syntax to that of the popular C++ programming language.
  • Garbage Collection- Java does not require programmers to explicitly free dynamically allocated memory. This makes Java programs easier to write and less prone to memory errors.

Areas of Application

  • World Wide Web Applets
  • Cross-Platform Application Development
  • Other Network Applications

Sample Programs

Source Code: (Hello World)
class HelloWorld {
public static void main(String args[])
{
System.out.println("Hello world!");
}
}

This program was compiled and run using the Java Developers Kit, Version 1.0.2, for Win32 on x86 from Sun Microsystems running under Windows 95.

This program demonstrates the text output function of the Java programming language by displaying the message "Hello world!".

 

 

 

 

 


 



 

Site Topics

LOGO Programming Language
Mathematica Programming Language
MATLAB Programming Language
Miranda Programming Language
Modula-2 Programming Language
Oberon Programming Language
Pascal Programming Language
PERL Programming Language
PL/I Programming Language
Prolog Programming Language
Python Programming Language
REXX Programming Language
SAS Programming Language
Scheme Programming Language
SED Programming Language
Simula Programming Language
Smalltalk Programming Language
SNOBOL Programming Language
Database Programming Language
Visual Basic Programming Language
Visual C++ Programming Language
XML Programming Language

 

 

 

 

C Programming Language | Assembling Computers | CIS | Computer Science Careers | Women and Computer Science | ADA Programming Language | ALGOL Programming Language | AWK Programming Language | Basic Programming Language | C++ Programming Language | COBOL Programming Language | Delphi Programming Language | Eiffel Programming Language | Euphoria Programming Language | Forth Programming Language | FORTRAN Programming Language | HTML Programming Language | ICON Programming Language | Java Programming Language | Javascript Programming Language | LISP Programming Language | LOGO Programming Language | Mathematica Programming Language | MATLAB Programming Language | Miranda Programming Language | Modula-2 Programming Language | Oberon Programming Language | Pascal Programming Language | PERL Programming Language | PL/I Programming Language | Prolog Programming Language | Python Programming Language | REXX Programming Language | SAS Programming Language | Scheme Programming Language | SED Programming Language | Simula Programming Language | Smalltalk Programming Language | SNOBOL Programming Language | Database Programming Language | Visual Basic Programming Language | Visual C++ Programming Language | XML Programming Language | Home | Site Map