started accessing the applications available on the web. Members of the
Oak team realized that Java would provide the required cross-platform
independence that is, independence from the hardware, the network, and
the operating system. Very soon, Java became an integral part of the web.
Java software works just about everywhere, from the smallest devices to
supercomputer. Java technology components (programs) do not depend on
the kind of computer, telephone, television, or operating system they run on.
They work on any kind of compatible device that supports the Java platform.
In this chapter, you will learn about the:
History of Java
Features of Java
Types of Java programs.
1.2 Features of Java
Java is a simple language that can be learned easily, even if you have just
A Java programmer need not know the internal of Java. The syntax of Java
is similar to C++. Unlike C++, in which the programmer handles memory
manipulation, Java handles the required memory manipulations, and thus
prevents errors that arise due to improper memory usage.
Java defines data as objects with methods that support the objects. Java is
purely object-oriented and provides abstraction, encapsulation, inheritance
and polymorphism. Even the most basic program has a class. Any code that
you write in Java is inside a class.
Java is tuned of Web. Java programs can access data across the Web as
easily as they access data from a local system. You can build distributed
applications in Java that use resources from any other networked computer.
Sikkim Manipal University
Page No. 2