that make it suitable for just about
any programming task. Some of them
are listed as follows:
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
o Applets
Applets appear in a Web page much in the
same way as images do, but unlike images,
applets are dynamic and interactive.
Applets can be used to create animations,
figures, or areas that can respond to input
from the reader, games, or other
interactive effects on the same Web pages
among the text and graphics. Java enabled
browsers can successfully run applets and
thus give a truly rich experience at the user
end.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
o Platform Independence
Platform independence is one of the most significant advantages that Java has over other programming
languages, particularly for systems that need to work on many different platforms. Java is platform-independent at both the source and the binary level. Platformindependence is a program's capability of moving easily from one computer system to another. Java binary files called byte-codes are also platform-independent and can run on multiple platforms without the need to recompile the source. Byte-codes are a set of instructions that look a lot like machine code, but are not specific to any one processor. Because of them, compilation happens just once; interpretation occurs each time the program is executed. Java byte-codes help make "write once, run anywhere" possible.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
o Simplicity
In addition to its portability and objectorientation, one of Java's initial design goals was to be small and simple, and
therefore easier to write, easier to compile,
easier to debug, and, best of all, easy to
learn. Keeping the language small also
makes it more robust because there are
fewer chances for programmers to make
difficult-to-find mistakes. Despite its size
and simple design, however, Java still has a
great deal of power and flexibility.
attention@computerscienceexpertise.com PDF created with pdfFactory Pro trial version www.pdffactory.com
o Better Cousin of C, C++
Java is modeled after C and C++, and much of the syntax and object-oriented structure is borrowed from the latter. If you are familiar with C++, learning Java will be particularly easy for you, because you have most of the foundation already. Although Java looks similar to C and C++, most of the more complex parts of those languages have been excluded from Java, making the language simpler without sacrificing much of its power. There are no pointers in Java, nor is there pointer arithmetic. Strings and arrays are real objects in Java. Memory management is automatic. To an experienced programmer, these omissions may be difficult to get used to, but to beginners or programmers who have worked in other languages; they make the Java language far easier to learn.
Java Learning Made Easy
Start from the beginning
