Pages

October 31, 2010

Generics in the Java Programming Language

JDK 1.5 introduces several extensions to the Java programming language. One of these
is the introduction of generics.
This tutorial is aimed at introducing you to generics. You may be familiar with
similar constructs from other languages, most notably C++ templates. If so, you’ll soon
see that there are both similarities and important differences. If you are not familiar
with look-a-alike constructs from elsewhere, all the better; you can start afresh, without
unlearning any misconceptions.

About Delphi.....

Borland Delphi 1
Delphi 1 was released in 1995 for the 16-bit Windows 3.1 and was an early example of what came to be known as Rapid Application Development (RAD) tools. Delphi 1 was the successor of Turbo Pascal and Borland Pascal, very fast 16-bit native code compilers with its own sophisticated integrated development environment (IDE) and graphical user interface toolkit for DOS (Borland Pascal added Windows IDE and Windows code generation as well). Like Turbo Pascal, Delphi code was written in a dialect of Pascal programming language which is known as Object Pascal.
Borland Delphi 2

What's Java ?

A high-level programming language developed by Sun Microsystems. Java was originally called OAK, and was designed for handheld devices and set-top boxes. Oak was unsuccessful so in 1995 Sun changed the name to Java and modified the language to take advantage of the burgeoning World Wide Web.
Java is an object-oriented language similar to C++, but simplified to eliminate language features that cause common programming errors. Java source code files (files with a .java extension) are compiled into a format called bytecode (files with a .class extension), which can then be executed by a Java interpreter. Compiled Java code can run on most computers because Java interpreters and runtime environments, known as Java Virtual Machines (VMs), exist for most operating systems, including UNIX, the Macintosh OS, and Windows. Bytecode can also be converted directly into machine language instructions by a just-in-time compiler (JIT).